aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/params.pp14
1 files changed, 7 insertions, 7 deletions
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"