aboutsummaryrefslogtreecommitdiff
path: root/manifests/shared_network.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/shared_network.pp
parentb1c6314a83146a88f2d703ec99b6896bcd11c927 (diff)
downloadpuppet-dhcp-928dbaa62bcc37092ddec36b1f715365576eae6d.tar.gz
puppet-dhcp-928dbaa62bcc37092ddec36b1f715365576eae6d.tar.bz2
doc
Diffstat (limited to 'manifests/shared_network.pp')
-rw-r--r--manifests/shared_network.pp20
1 files changed, 15 insertions, 5 deletions
diff --git a/manifests/shared_network.pp b/manifests/shared_network.pp
index 38f14fb..766f432 100644
--- a/manifests/shared_network.pp
+++ b/manifests/shared_network.pp
@@ -1,12 +1,22 @@
-# == Definition: dhcp::shared-network
+# Definition: dhcp::shared-network
+#
# Creates a shared-network
#
-# Arguments:
-# *$subnets* : subnet list to be included in the shared-network
+# Parameters:
+# ['subnets'] - An array of subnets to be included in the shared-network.
+#
+# Sample usage:
+# ::dhcp::shared_network { 'office':
+# subnets => ['192.168.1.0', '192.168.2.0'],
+# }
+#
+# Requires:
+# - puppetlabs/stdlib
+# - ripienaar/concat
#
# Warnings:
-# - subnets must exists
-# - subnets must have $is_shared set to true (default is false)
+# - subnets must exists
+# - subnets must have $is_shared set to true (default is false)
#
define dhcp::shared_network(
$ensure = present,