From a92838058dc0ce36bd16879f245b72ab7b9efa8f Mon Sep 17 00:00:00 2001 From: Richard Anderson Date: Tue, 18 Feb 2014 15:48:42 -0600 Subject: Update params.pp: Ubuntu Lucid/Precise Added compatibility for Ubuntu Lucid and Ubuntu Precise versions. --- manifests/params.pp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'manifests') diff --git a/manifests/params.pp b/manifests/params.pp index 2d10134..fc45987 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -7,20 +7,20 @@ class dhcp::params { case $::operatingsystem { - Debian: { + /Debian|Ubuntu/: { $config_dir = $::lsbdistcodename? { - lenny => '/etc/dhcp3', - /squeeze|wheezy/ => '/etc/dhcp', + /lenny|lucid/ => '/etc/dhcp3', + /squeeze|wheezy|precise/ => '/etc/dhcp', } $srv_dhcpd = $::lsbdistcodename? { - lenny => 'dhcp3-server', - /squeeze|wheezy/ => 'isc-dhcp-server', + /lenny|lucid/ => 'dhcp3-server', + /squeeze|wheezy|precise/ => 'isc-dhcp-server', } $service_pattern = $::lsbdistcodename? { - lenny => '/usr/sbin/dhcpd3', - /squeeze|wheezy/ => '/usr/sbin/dhcpd', + /lenny|lucid/ => '/usr/sbin/dhcpd3', + /squeeze|wheezy|precise/ => '/usr/sbin/dhcpd', } $server_template = "${module_name}/dhcpd.conf.debian.erb" -- cgit v1.2.3