blob: eacd8b66ff105a41ac4937d28155ff6ed36ffcd4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
/*
= Class: dhcp::debian
Installs a dhcp server on debian system.
This class should not be included as is, please include "dhcp" instead.
*/
class dhcp::debian inherits dhcp::base {
Common::Concatfilepart["00-base"] {
content => template('dhcp/dhcpd.conf.debian.erb'),
}
Service["dhcpd"] {
pattern => $lsbdistcodename ? {
squeeze => "/usr/sbin/dhcpd",
lenny => "/usr/sbin/dhcpd3",
}
}
}
|