Ignore:
Timestamp:
Jul 26, 2017, 10:36:00 AM (9 years ago)
Author:
Joachim Langenbach <joachim.langenbach@…>
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)
Message:

Merge branch 'master' into debian/jessie

Location:
src/puppetcode/environments/gnuboat
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • src/puppetcode/environments/gnuboat/hieradata/common.yaml

    ra0cc980 r1dbcca2  
    5252gnuboat_gnuboat::server: true
    5353gnuboat_gnuboat::webclient: true
    54 gnuboat_hostapd::config::interface: 'wlan0'
     54gnuboat_hostapd::config::mac_address: 00:0f:60:0b:18:c1
    5555gnuboat_hostapd::config::country_code: 'de'
    5656gnuboat_canboat::service::can_interface: 'can0'
  • src/puppetcode/environments/gnuboat/modules/gnuboat_hostapd/manifests/config.pp

    ra0cc980 r1dbcca2  
    11class gnuboat_hostapd::config
    22(
    3         String $interface,
     3        String $mac_address,
     4        String $interface = 'wlan-hotspot',
     5        Boolean $add_udev_rule = true,
    46        String $netmask = '255.255.255.0',
    57        String $hw_mode = 'g',
    … …  
    6668        }
    6769
     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
    6886}
Note: See TracChangeset for help on using the changeset viewer.