dhcp: Do not create dhcpd.leases file with wrong permissions on OpenBSD 5.8 and newer.
This commit is contained in:
parent
dc0e79d1bb
commit
f3378159f4
1 changed files with 7 additions and 8 deletions
|
@ -60,14 +60,13 @@ class dhcp::server::common($interface=undef) {
|
|||
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"],
|
||||
file { "/var/db/dhcpd.leases":
|
||||
ensure => present,
|
||||
mode => "0644",
|
||||
owner => "root",
|
||||
group => "wheel",
|
||||
before => Service["dhcpd"],
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue