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",
|
source => "puppet:///modules/dhcp/isc_dhcpd.rc",
|
||||||
before => Service["dhcpd"],
|
before => Service["dhcpd"],
|
||||||
}
|
}
|
||||||
}
|
file { "/var/db/dhcpd.leases":
|
||||||
|
ensure => present,
|
||||||
file { "/var/db/dhcpd.leases":
|
mode => "0644",
|
||||||
ensure => present,
|
owner => "root",
|
||||||
mode => "0644",
|
group => "wheel",
|
||||||
owner => "root",
|
before => Service["dhcpd"],
|
||||||
group => "wheel",
|
}
|
||||||
before => Service["dhcpd"],
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue