diff options
author | Marc Fournier <marc.fournier@camptocamp.com> | 2011-11-15 13:17:30 +0100 |
---|---|---|
committer | Marc Fournier <marc.fournier@camptocamp.com> | 2011-11-15 13:17:30 +0100 |
commit | 5f4a22d6775fc091124c95bbb0b891bf95e6043c (patch) | |
tree | 8e72cf49cb70d9f88cd31dff946f5785f0fb8721 /manifests/server/debian.pp | |
parent | 69f887dee39d13f52b7b228fa49e54bdd0454c3b (diff) | |
download | puppet-dhcp-5f4a22d6775fc091124c95bbb0b891bf95e6043c.tar.gz puppet-dhcp-5f4a22d6775fc091124c95bbb0b891bf95e6043c.tar.bz2 |
file renaming to be compliant with recommended module structure.
Diffstat (limited to 'manifests/server/debian.pp')
-rw-r--r-- | manifests/server/debian.pp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/manifests/server/debian.pp b/manifests/server/debian.pp new file mode 100644 index 0000000..9762384 --- /dev/null +++ b/manifests/server/debian.pp @@ -0,0 +1,21 @@ +/* + += Class: dhcp::server::debian +Installs a dhcp server on debian system. + +This class should not be included as is, please include "dhcp::server" instead. + +*/ +class dhcp::server::debian inherits dhcp::server::base { + + Common::Concatfilepart["00.dhcp.server.base"] { + content => template('dhcp/dhcpd.conf.debian.erb'), + } + + Service["dhcpd"] { + pattern => $lsbdistcodename ? { + squeeze => "/usr/sbin/dhcpd", + lenny => "/usr/sbin/dhcpd3", + } + } +} |