Changeset 561 for trunk/puppet
- Timestamp:
- Mar 6, 2010, 9:04:10 PM (14 years ago)
- Location:
- trunk/puppet/modules/puppet-dnsmasq
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/puppet/modules/puppet-dnsmasq/README
r559 r561 9 9 dhcp_script => '/usr/local/sbin/dnsmasq-genhostname.sh', 10 10 dhcp_hostsfile => '/etc/dnsmasq.hostsfile', 11 addn_hosts => '/etc/hosts.dnsmasq', 11 12 domain => 'mon.domaine.exemple.com', 12 13 dhcp_boot => '/ltsp/i386/pxelinux.0,tftphostname,10.11.12.8', -
trunk/puppet/modules/puppet-dnsmasq/manifests/init.pp
r559 r561 12 12 $dhcp_script = 'absent', 13 13 $dhcp_hostsfile = 'absent', 14 $addn_hosts = 'absent', 14 15 $domain = 'absent', 15 16 $dhcp_boot = 'absent', … … 41 42 mode => 755, 42 43 require => File["/etc/dnsmasq.hostsfile"]; 44 "/etc/hosts.dnsmasq": 45 ensure => present, 46 owner => root, 47 group => root, 48 mode => 644, 49 require => Package["dnsmasq"]; 43 50 } 44 51 -
trunk/puppet/modules/puppet-dnsmasq/templates/my.dnsmasq.conf.erb
r560 r561 56 56 bogus-priv 57 57 58 <% if addn_hosts != 'absent' -%> 59 # We want to read another file, as well as /etc/hosts, 60 # so use this. 61 addn-hosts=<%= addn_hosts %> 62 <% end -%> 63 58 64 <% if domain != 'absent' -%> 59 65 # Set this (and domain: see below) if you want to have a domain
Note: See TracChangeset
for help on using the changeset viewer.