source: src/puppetcode/environments/test/modules/gnuboat_hostapd/manifests/init.pp@ e63d558

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

hostapd configuration may work now, but not sure, if name resolution is configured correctly

  • Property mode set to 100644
File size: 685 bytes
Line 
1class gnuboat_hostapd
2(
3 String $version = 'latest',
4 String $hostip = '192.168.254.1',
5 String $hostname = 'gnu',
6 String $domain = 'boat',
7 Boolean $dnsmasq_enable = true,
8)
9{
10 contain gnuboat_hostapd::install
11 contain gnuboat_hostapd::service
12 contain gnuboat_hostapd::config
13
14 Class['gnuboat_hostapd::install'] ->
15 Class['gnuboat_hostapd::config'] ->
16 Class['gnuboat_hostapd::service']
17
18
19 if $dnsmasq_enable {
20 contain gnuboat_hostapd::dnsmasq_install
21 contain gnuboat_hostapd::dnsmasq_service
22 contain gnuboat_hostapd::dnsmasq_config
23
24 Class['gnuboat_hostapd::dnsmasq_install'] ->
25 Class['gnuboat_hostapd::dnsmasq_config'] ->
26 Class['gnuboat_hostapd::dnsmasq_service']
27 }
28}
Note: See TracBrowser for help on using the repository browser.