diff options
Diffstat (limited to 'manifests/classes/dhcp-variables.pp')
-rw-r--r-- | manifests/classes/dhcp-variables.pp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/manifests/classes/dhcp-variables.pp b/manifests/classes/dhcp-variables.pp new file mode 100644 index 0000000..e189ae6 --- /dev/null +++ b/manifests/classes/dhcp-variables.pp @@ -0,0 +1,22 @@ +/* + += Class: dhcp::variables +Do NOT include this class - it won't do anything. +Set variables for names and paths + +*/ +class dhcp::variables { + case $operatingsystem { + Debian: { + $config_dir = $lsbdistcodename? { + lenny => "/etc/dhcp3", + squeeze => "/etc/dhcp", + } + + $srv_dhcpd = $lsbdistcodename? { + lenny => "dhcp3-server", + squeeze => "isc-dhcp-server", + } + } + } +} |