aboutsummaryrefslogtreecommitdiff
path: root/manifests/classes/dhcp-params.pp
blob: 4a8eaa11c40fb1955a8f8464aa836d814c402bb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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",
      }
    }
  }
}