class gnuboat_hostapd::dnsmasq_config ( String $hostname = 'gnu', String $domain = 'boat', String $dhcp_range = '192.168.254.2,192.168.254.254,12h', ) inherits gnuboat_hostapd { file{'/etc/hosts': ensure => present, owner => 'root', group => 'root', mode => '0644', content => epp('gnuboat_hostapd/hosts.epp', { 'hostip' => $hostip, 'hostname' => $hostname, 'domain' => $domain, } ), } file{'/etc/dnsmasq.conf': ensure => present, owner => 'root', group => 'root', mode => '0600', content => epp('gnuboat_hostapd/dnsmasq.conf.epp', { 'hostip' => $hostip, 'dhcp_range' => $dhcp_range, } ), } }