From bd2a757b852a339fb22492598f39841825e6b12c Mon Sep 17 00:00:00 2001 From: Hunter Haugen Date: Wed, 28 Nov 2012 11:40:01 -0500 Subject: Add restrict parameter NTP servers should not restrict themselves to 127.0.0.1, and this commit adds a `restrict` parameter to enable/disable this configuration block in the relevent templates. --- manifests/init.pp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'manifests') diff --git a/manifests/init.pp b/manifests/init.pp index e8a4c34..6f4cc8b 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. @@ -35,6 +41,7 @@ class ntp($servers='UNSET', $ensure='running', $enable='true', + $restrict=true, $autoupdate=false ) { -- cgit v1.2.3