source: puppetcode/environments/test/modules/gnuboat_hostapd/manifests/service.pp@ 3121b3b

0.5 app-cordova debian/bullseye debian/jessie
Last change on this file since 3121b3b was 1affd70, checked in by Joachim Langenbach <joachim.langenbach@…>, 10 years ago

Started to implement puppet modules to configure GNUBoat raspberry device.

First module should configure hostapd as an access point. Currently NOT TESTED

  • Property mode set to 100644
File size: 224 bytes
RevLine 
[1affd70]1class hostapd::service
2(
3 Enum['running', 'stopped'] $status = 'running',
4 Boolean $enabled = true,
5)
6inherits hostapd
7{
8 service{'hostapd':
9 ensure => $status,
10 enable => $enabled,
11 subscribe => Package['hostapd'],
12 }
13}
Note: See TracBrowser for help on using the repository browser.