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