dhcp: Create dhcpd.leases file in OpenBSD. Needed for dhcpd to start.
This commit is contained in:
parent
9a07075a8c
commit
c8ab7ce7d5
1 changed files with 8 additions and 0 deletions
|
@ -52,6 +52,14 @@ class dhcp::server::common {
|
|||
source => "puppet:///modules/dhcp/isc_dhcpd.rc",
|
||||
before => Service["dhcpd"],
|
||||
}
|
||||
|
||||
file { "/var/db/dhcpd.leases":
|
||||
ensure => present,
|
||||
mode => 0644,
|
||||
owner => "root",
|
||||
group => "wheel",
|
||||
before => Service["dhcpd"],
|
||||
}
|
||||
}
|
||||
|
||||
service { "dhcpd":
|
||||
|
|
Loading…
Add table
Reference in a new issue