aboutsummaryrefslogtreecommitdiff
path: root/manifests/params.pp
diff options
context:
space:
mode:
authorMarc Fournier <marc.fournier@camptocamp.com>2011-11-15 13:17:30 +0100
committerMarc Fournier <marc.fournier@camptocamp.com>2011-11-15 13:17:30 +0100
commit5f4a22d6775fc091124c95bbb0b891bf95e6043c (patch)
tree8e72cf49cb70d9f88cd31dff946f5785f0fb8721 /manifests/params.pp
parent69f887dee39d13f52b7b228fa49e54bdd0454c3b (diff)
downloadpuppet-dhcp-5f4a22d6775fc091124c95bbb0b891bf95e6043c.tar.gz
puppet-dhcp-5f4a22d6775fc091124c95bbb0b891bf95e6043c.tar.bz2
file renaming to be compliant with recommended module structure.
Diffstat (limited to 'manifests/params.pp')
-rw-r--r--manifests/params.pp22
1 files changed, 22 insertions, 0 deletions
diff --git a/manifests/params.pp b/manifests/params.pp
new file mode 100644
index 0000000..4a8eaa1
--- /dev/null
+++ b/manifests/params.pp
@@ -0,0 +1,22 @@
+/*
+
+= Class: dhcp::params
+Do NOT include this class - it won't do anything.
+Set variables for names and paths
+
+*/
+class dhcp::params {
+ case $operatingsystem {
+ Debian: {
+ $config_dir = $lsbdistcodename? {
+ lenny => "/etc/dhcp3",
+ squeeze => "/etc/dhcp",
+ }
+
+ $srv_dhcpd = $lsbdistcodename? {
+ lenny => "dhcp3-server",
+ squeeze => "isc-dhcp-server",
+ }
+ }
+ }
+}