Changes in / [1dbcca2:a0cc980]


Ignore:
Files:
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • debian/changelog

    r1dbcca2 ra0cc980  
    22
    33  * Fixed old puppet configversion
    4   * Merged udev management for hostapd into puppet configuration from trunk
    54
    6  -- EngSaS - Joachim Langenbach <info@engsas.de>  Wed, 26 Jul 2017 10:30:00 +0200
     5 -- EngSaS - Joachim Langenbach <info@engsas.de>  Wed, 26 Jul 2017 10:00:00 +0200
    76gnuboat (0.4.1) jessie; urgency=low
    87
  • src/puppetcode/environments/gnuboat/hieradata/common.yaml

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

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