Changeset ba8e5bd for src/puppetcode
- Timestamp:
- Jul 26, 2017, 10:34:41 AM (9 years ago)
- Branches:
- 0.5, app-cordova, debian/bullseye, debian/jessie, master
- Children:
- 1dbcca2, e62e787
- Parents:
- 03d4b56
- Location:
- src/puppetcode/environments/gnuboat
- Files:
-
- 1 added
- 2 edited
-
hieradata/common.yaml (modified) (1 diff)
-
modules/gnuboat_hostapd/manifests/config.pp (modified) (2 diffs)
-
modules/gnuboat_hostapd/templates/hostapd-udev.epp (added)
Legend:
- Unmodified
- Added
- Removed
-
src/puppetcode/environments/gnuboat/hieradata/common.yaml
r03d4b56 rba8e5bd 51 51 gnuboat_gnuboat::server: true 52 52 gnuboat_gnuboat::webclient: true 53 gnuboat_hostapd::config:: interface: 'wlan0'53 gnuboat_hostapd::config::mac_address: 00:0f:60:0b:18:c1 54 54 gnuboat_hostapd::config::country_code: 'de' 55 55 gnuboat_canboat::service::can_interface: 'can0' -
src/puppetcode/environments/gnuboat/modules/gnuboat_hostapd/manifests/config.pp
r03d4b56 rba8e5bd 1 1 class gnuboat_hostapd::config 2 2 ( 3 String $interface, 3 String $mac_address, 4 String $interface = 'wlan-hotspot', 5 Boolean $add_udev_rule = true, 4 6 String $netmask = '255.255.255.0', 5 7 String $hw_mode = 'g', … … 66 68 } 67 69 70 if $add_udev_rule { 71 file{'/etc/udev/rules.d/98-hostapd.rules': 72 ensure => present, 73 owner => 'root', 74 group => 'root', 75 mode => '0600', 76 notify => Service['hostapd'], 77 content => epp('gnuboat_hostapd/hostapd-udev.epp', 78 { 79 'mac_address' => $mac_address, 80 'interface' => $interface, 81 }), 82 } 83 } 84 85 68 86 }
Note:
See TracChangeset
for help on using the changeset viewer.
