aboutsummaryrefslogtreecommitdiff
path: root/manifests/server/debian.pp
diff options
context:
space:
mode:
authorRaphaël Pinson <raphael.pinson@camptocamp.com>2013-04-11 11:54:50 +0200
committerRaphaël Pinson <raphael.pinson@camptocamp.com>2013-04-11 12:03:37 +0200
commit745b2537e79eca59f8e9f2f15230482fcdf140aa (patch)
tree56aca03f5a10a62574369d51d68ba99b2766f849 /manifests/server/debian.pp
parent87162a8cc3e47996160f85e1807f75b9ad741bc8 (diff)
downloadpuppet-dhcp-745b2537e79eca59f8e9f2f15230482fcdf140aa.tar.gz
puppet-dhcp-745b2537e79eca59f8e9f2f15230482fcdf140aa.tar.bz2
Refactor module
* Use a top dhcp class with a $server boolean param * Refactor the dhcp::class to use packages/config/service classes * Don't use inheritance, put everything in dhcp::params
Diffstat (limited to 'manifests/server/debian.pp')
-rw-r--r--manifests/server/debian.pp21
1 files changed, 0 insertions, 21 deletions
diff --git a/manifests/server/debian.pp b/manifests/server/debian.pp
deleted file mode 100644
index 5d23bbe..0000000
--- a/manifests/server/debian.pp
+++ /dev/null
@@ -1,21 +0,0 @@
-# = 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 {
-
- Concat::Fragment['00.dhcp.server.base'] {
- content => template('dhcp/dhcpd.conf.debian.erb'),
- }
-
- Service['dhcpd'] {
- pattern => $::lsbdistcodename ? {
- squeeze => '/usr/sbin/dhcpd',
- lenny => '/usr/sbin/dhcpd3',
- }
- }
-
-}