Fixed dhcp::server::ldap depencies.
This commit is contained in:
parent
97b9ab10a6
commit
6bc1dede76
1 changed files with 8 additions and 3 deletions
|
@ -96,7 +96,8 @@ class dhcp::server inherits dhcp::server::common {
|
|||
|
||||
class dhcp::server::ldap inherits dhcp::server::common {
|
||||
|
||||
include ldap::client::python
|
||||
include python
|
||||
include ldap::client
|
||||
|
||||
file { "/usr/local/sbin/dhcpdump.py":
|
||||
ensure => present,
|
||||
|
@ -126,8 +127,12 @@ class dhcp::server::ldap inherits dhcp::server::common {
|
|||
path => "/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin",
|
||||
command => "dhcpdump.py /etc/dhcpd.conf.in* > /etc/dhcpd.conf",
|
||||
unless => "dhcpdump.py /etc/dhcpd.conf.in* | diff /etc/dhcpd.conf -",
|
||||
require => [ File["/etc/dhcpd.conf.in"],
|
||||
File["/usr/local/sbin/dhcpdump.py"], ],
|
||||
require => [
|
||||
File["/etc/dhcpd.conf.in"],
|
||||
File["/usr/local/sbin/dhcpdump.py"],
|
||||
Class["python"],
|
||||
Class["ldap::client"],
|
||||
],
|
||||
notify => Service["dhcpd"],
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue