diff options
author | Ashley Penney <ashley.penney@puppetlabs.com> | 2013-07-08 10:29:01 -0400 |
---|---|---|
committer | Ashley Penney <ashley.penney@puppetlabs.com> | 2013-07-08 10:29:01 -0400 |
commit | b5136d77edb0f43c25247b45395277d32838b2ea (patch) | |
tree | ff1fa94a9b7ac373a9e06db85387399d2b5623f1 /manifests/params.pp | |
parent | 82057592fe4e83ed15f1b5a9d4cd652fd0b8e528 (diff) |
Rename package_ensure to ensure_package.
Add the anchor pattern.
Move the deprecation warning out of params to init.
Diffstat (limited to 'manifests/params.pp')
-rw-r--r-- | manifests/params.pp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/manifests/params.pp b/manifests/params.pp index 1a9b7c8..dd55cd6 100644 --- a/manifests/params.pp +++ b/manifests/params.pp @@ -3,13 +3,9 @@ class ntp::params() { $autoupdate = false $enable_service = true $ensure_service = 'running' - $package_ensure = 'present' + $ensure_package = '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' |