Skip to content

Commit

Permalink
Change operatingsystem to osfamily for Fedora etc
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominic Cleal committed Aug 14, 2013
1 parent 38a90b3 commit 90ed8e5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions manifests/params.pp
Expand Up @@ -90,13 +90,13 @@
$dhcp_key_secret = ''

# DHCP server settings
case $::operatingsystem {
Debian,Ubuntu: {
case $::osfamily {
Debian: {
$dhcp_vendor = 'isc'
$dhcp_config = '/etc/dhcp/dhcpd.conf'
$dhcp_leases = '/var/lib/dhcp/dhcpd.leases'
}
RedHat,CentOS: {
RedHat: {
$dhcp_vendor = 'isc'
if ($::lsbmajdistrelease == 5) {
$dhcp_config = '/etc/dhcpd.conf'
Expand Down

0 comments on commit 90ed8e5

Please sign in to comment.