Fixed dhcpd.conf path for ubuntu and debian installs.
This commit is contained in:
parent
195d3245aa
commit
47e7ac0d35
1 changed files with 5 additions and 0 deletions
|
@ -54,6 +54,11 @@ class dhcp::server::common {
|
||||||
class dhcp::server inherits dhcp::server::common {
|
class dhcp::server inherits dhcp::server::common {
|
||||||
|
|
||||||
file { "/etc/dhcpd.conf":
|
file { "/etc/dhcpd.conf":
|
||||||
|
name => $operatingsystem ? {
|
||||||
|
debian => "/etc/dhcp3/dhcpd.conf",
|
||||||
|
ubuntu => "/etc/dhcp3/dhcpd.conf",
|
||||||
|
default => "/etc/dhcpd.conf",
|
||||||
|
},
|
||||||
ensure => present,
|
ensure => present,
|
||||||
source => [ "puppet:///files/dhcp/dhcpd.conf.${fqdn}",
|
source => [ "puppet:///files/dhcp/dhcpd.conf.${fqdn}",
|
||||||
"puppet:///files/dhcp/dhcpd.conf", ],
|
"puppet:///files/dhcp/dhcpd.conf", ],
|
||||||
|
|
Loading…
Add table
Reference in a new issue