dhcp: Fix dhcp::server for OpenBSD 5.8.
This commit is contained in:
parent
6fdcea8395
commit
7c5aef3101
1 changed files with 9 additions and 7 deletions
|
@ -44,13 +44,15 @@ class dhcp::server::common {
|
|||
}
|
||||
|
||||
if $::operatingsystem == "OpenBSD" {
|
||||
file { "/etc/rc.d/isc_dhcpd":
|
||||
ensure => present,
|
||||
mode => "0555",
|
||||
owner => "root",
|
||||
group => "bin",
|
||||
source => "puppet:///modules/dhcp/isc_dhcpd.rc",
|
||||
before => Service["dhcpd"],
|
||||
if versioncmp($::operatingsystemrelease, "5.8") < 0 {
|
||||
file { "/etc/rc.d/isc_dhcpd":
|
||||
ensure => present,
|
||||
mode => "0555",
|
||||
owner => "root",
|
||||
group => "bin",
|
||||
source => "puppet:///modules/dhcp/isc_dhcpd.rc",
|
||||
before => Service["dhcpd"],
|
||||
}
|
||||
}
|
||||
|
||||
file { "/var/db/dhcpd.leases":
|
||||
|
|
Loading…
Add table
Reference in a new issue