diff options
Diffstat (limited to 'manifests/params.pp')
-rw-r--r-- | manifests/params.pp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/manifests/params.pp b/manifests/params.pp index 9d20a13..91186da 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -3,8 +3,13 @@ class ntp::params() { $autoupdate = false $enable_service = true $ensure_service = 'running' + $package_ensure = 'present' $restrict = true + if $autoupdate { + notice('autoupdate parameter has been deprecated and replaced with package_ensure. Set this to latest for the same behavior as autoupdate => true.') + } + case $::osfamily { 'Debian': { $config = '/etc/ntp.conf' @@ -61,7 +66,7 @@ class ntp::params() { $config_template = 'ntp/ntp.conf.archlinux.erb' $package_name = ['ntp'] $service_name = 'ntpd' - $servers = [ + $servers = [ '0.pool.ntp.org', '1.pool.ntp.org', '2.pool.ntp.org', |