aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorRichard Anderson <lordbink@gmail.com>2014-02-18 15:48:42 -0600
committerRichard Anderson <lordbink@gmail.com>2014-02-18 15:48:42 -0600
commita92838058dc0ce36bd16879f245b72ab7b9efa8f (patch)
tree2de2f9a994c9929bfa9c6cc6702feab7f3fbb3c6 /manifests
parent5cca1dbbd46442211c15150192d4d525c32137fa (diff)
downloadpuppet-dhcp-a92838058dc0ce36bd16879f245b72ab7b9efa8f.tar.gz
puppet-dhcp-a92838058dc0ce36bd16879f245b72ab7b9efa8f.tar.bz2
Update params.pp: Ubuntu Lucid/Precise
Added compatibility for Ubuntu Lucid and Ubuntu Precise versions.
Diffstat (limited to 'manifests')
-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"