Fixed dhcp module to support puppet 2.6.
This commit is contained in:
parent
09084c977e
commit
93e8287f01
1 changed files with 1 additions and 1 deletions
|
@ -111,7 +111,7 @@ class dhcp::server::ldap inherits dhcp::server::common {
|
||||||
exec { "generate-dhcp-conf":
|
exec { "generate-dhcp-conf":
|
||||||
path => "/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin",
|
path => "/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin",
|
||||||
command => "dhcpdump.py /etc/dhcpd.conf.in* > /etc/dhcpd.conf",
|
command => "dhcpdump.py /etc/dhcpd.conf.in* > /etc/dhcpd.conf",
|
||||||
onlyif => "! dhcpdump.py /etc/dhcpd.conf.in* | diff /etc/dhcpd.conf -",
|
unless => "dhcpdump.py /etc/dhcpd.conf.in* | diff /etc/dhcpd.conf -",
|
||||||
require => [ File["/etc/dhcpd.conf.in"],
|
require => [ File["/etc/dhcpd.conf.in"],
|
||||||
File["/usr/local/sbin/dhcpdump.py"], ],
|
File["/usr/local/sbin/dhcpdump.py"], ],
|
||||||
notify => Service["dhcpd"],
|
notify => Service["dhcpd"],
|
||||||
|
|
Loading…
Add table
Reference in a new issue