aboutsummaryrefslogtreecommitdiff
path: root/manifests/params.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/params.pp')
-rw-r--r--manifests/params.pp7
1 files changed, 7 insertions, 0 deletions
diff --git a/manifests/params.pp b/manifests/params.pp
index d2ba584..20fbcd2 100644
--- a/manifests/params.pp
+++ b/manifests/params.pp
@@ -17,6 +17,13 @@ class dhcp::params {
lenny => 'dhcp3-server',
squeeze => 'isc-dhcp-server',
}
+
+ $service_pattern = $::lsbdistcodename? {
+ lenny => '/usr/sbin/dhcpd3',
+ squeeze => '/usr/sbin/dhcpd',
+ }
+
+ $base_template = 'dhcp/dhcpd.conf.debian.erb'
}
default: {