source: trunk/puppet/modules/puppet-dnsmasq/README @ 557

Last change on this file since 557 was 557, checked in by sebas@…, 14 years ago

agregamos la funcionalidad para generar nombre a las maquinas basado en su mac address

File size: 861 bytes
Line 
1Example
2=======
3
4dnsmasq::config { 'mio':
5        dhcp_authoritative => 'yes',
6        dhcp_range         => '10.11.12.150,10.11.12.200,255.255.255.0,2h',
7        dhcp_gw            => '10.11.12.1',
8        dhcp_nameservers   => '10.11.12.1',
9        dhcp_script        => '/usr/local/sbin/dnsmasq-genhostname.sh',
10        domain             => 'mon.domaine.exemple.com',
11        dhcp_boot          => '/ltsp/i386/pxelinux.0,tftphostname,10.11.12.8',
12        tftp_root          => '/ltsp/i386/',
13        log_queries        => 'yes',
14        log_dhcp           => 'yes'
15}
16
17
18Notes
19========
20 * to desactivate any parameter replace the value by 'absent'
21 * We've a cool script that generate the hostname base on the mac address
22   of the host, requesting a ip. The generate name looks like this
23   PC001d60dec327 This is very useful when installing new hosts with the
24   automated Debian preseed method.
25
Note: See TracBrowser for help on using the repository browser.