summaryrefslogtreecommitdiff
path: root/manifests/params.pp
diff options
context:
space:
mode:
authorAshley Penney <ashley.penney@puppetlabs.com>2013-07-08 10:29:01 -0400
committerAshley Penney <ashley.penney@puppetlabs.com>2013-07-08 10:29:01 -0400
commitb5136d77edb0f43c25247b45395277d32838b2ea (patch)
treeff1fa94a9b7ac373a9e06db85387399d2b5623f1 /manifests/params.pp
parent82057592fe4e83ed15f1b5a9d4cd652fd0b8e528 (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.pp6
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'