summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorRyan Coleman <ryan@puppetlabs.com>2012-12-10 11:16:08 -0800
committerRyan Coleman <ryan@puppetlabs.com>2012-12-10 11:16:08 -0800
commitef34330e6fdd3dd430b809089b552fb4e12486ea (patch)
tree9a808b7820388cfa014958c287fdb4721f346336 /manifests
parent621ed4d3d3cd1896dc649ede9324799bbba07e7f (diff)
parent13835e152e9bc93d2d48a4809aa39dbf8f492946 (diff)
Merge pull request #34 from hunner/add_restrict
Add restrict parameter
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp7
1 files changed, 7 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 74dcc5f..d23f4a3 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -18,6 +18,12 @@
# '2.debian.pool.ntp.org iburst',
# '3.debian.pool.ntp.org iburst', ]
#
+# $restrict = true
+# Whether to restrict ntp daemons from allowing others to use as a server.
+#
+# $autoupdate = false
+# Whether to update the ntp package automatically or not.
+#
# Actions:
#
# Installs, configures, and manages the ntp service.
@@ -34,6 +40,7 @@
# [Remember: No empty lines between comments and class definition]
class ntp($servers='UNSET',
$ensure='running',
+ $restrict=true,
$autoupdate=false
) {