From 62633f117aed4c062664d7bac5042936667286ba Mon Sep 17 00:00:00 2001 From: Simon Séhier Date: Thu, 13 Aug 2015 11:35:28 +0200 Subject: remove lenny & lucid support --- manifests/params.pp | 31 ++++--------------------------- 1 file changed, 4 insertions(+), 27 deletions(-) (limited to 'manifests') diff --git a/manifests/params.pp b/manifests/params.pp index 675c779..1270a53 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -4,31 +4,8 @@ # Set variables for names and paths # class dhcp::params { - - case $::operatingsystem { - - /Debian|Ubuntu/: { - $config_dir = $::lsbdistcodename? { - /lenny|lucid/ => '/etc/dhcp3', - /squeeze|wheezy|precise|trusty/ => '/etc/dhcp', - } - - $srv_dhcpd = $::lsbdistcodename? { - /lenny|lucid/ => 'dhcp3-server', - /squeeze|wheezy|precise|trusty/ => 'isc-dhcp-server', - } - - $service_pattern = $::lsbdistcodename? { - /lenny|lucid/ => '/usr/sbin/dhcpd3', - /squeeze|wheezy|precise|trusty/ => '/usr/sbin/dhcpd', - } - - $server_template = "${module_name}/dhcpd.conf.debian.erb" - } - - default: { - fail "Unsupported OS ${::operatingsystem}/${::lsbdistcodename}" - } - - } + $config_dir = '/etc/dhcp' + $srv_dhcpd = 'isc-dhcp-server' + $service_pattern = '/usr/sbin/dhcpd' + $server_template = "${module_name}/dhcpd.conf.debian.erb" } -- cgit v1.2.3