aboutsummaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
authorRaphaël Pinson <raphael.pinson@camptocamp.com>2013-04-12 14:11:44 +0200
committerRaphaël Pinson <raphael.pinson@camptocamp.com>2013-04-12 14:11:44 +0200
commit928dbaa62bcc37092ddec36b1f715365576eae6d (patch)
treeceb4ea7948269f0e2d7abbde24f5291de7a19d26 /manifests/init.pp
parentb1c6314a83146a88f2d703ec99b6896bcd11c927 (diff)
downloadpuppet-dhcp-928dbaa62bcc37092ddec36b1f715365576eae6d.tar.gz
puppet-dhcp-928dbaa62bcc37092ddec36b1f715365576eae6d.tar.bz2
doc
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp22
1 files changed, 22 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index e1e05b3..9af496f 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -1,3 +1,25 @@
+# Class: dhcp
+#
+# This class provides a simple way to install a DHCP server
+# It will install and configure the necessary packages.
+#
+# Parameters:
+# ['server'] - Whether to install the DHCP server
+# (default: true)
+# ['server_ddns_update'] - Set ddns_update on dhcp::server
+# ['server_authoritative'] - Set authoritative on dhcp::server
+# ['server_opts'] - Set opts for dhcp::server
+#
+# Actions:
+# - Deploys a DHCP server
+#
+# Sample usage:
+# include ::dhcp
+#
+# Requires:
+# - puppetlabs/stdlib
+# - ripienaar/concat
+#
class dhcp (
$server = true,
$server_ddns_update = undef,