Changeset 1dbcca2 for src/puppetcode
- Timestamp:
- Jul 26, 2017, 10:36:00 AM (9 years ago)
- Branches:
- debian/bullseye, debian/jessie
- Children:
- ddf0d8b
- Parents:
- a0cc980 (diff), ba8e5bd (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - git-author:
- Joachim Langenbach <joachim.langenbach@…> (07/26/17 10:35:21)
- git-committer:
- Joachim Langenbach <joachim.langenbach@…> (07/26/17 10:36:00)
- 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
ra0cc980 r1dbcca2 52 52 gnuboat_gnuboat::server: true 53 53 gnuboat_gnuboat::webclient: true 54 gnuboat_hostapd::config:: interface: 'wlan0'54 gnuboat_hostapd::config::mac_address: 00:0f:60:0b:18:c1 55 55 gnuboat_hostapd::config::country_code: 'de' 56 56 gnuboat_canboat::service::can_interface: 'can0' -
src/puppetcode/environments/gnuboat/modules/gnuboat_hostapd/manifests/config.pp
ra0cc980 r1dbcca2 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.
