From b5136d77edb0f43c25247b45395277d32838b2ea Mon Sep 17 00:00:00 2001 From: Ashley Penney Date: Mon, 8 Jul 2013 10:29:01 -0400 Subject: Rename package_ensure to ensure_package. Add the anchor pattern. Move the deprecation warning out of params to init. --- manifests/params.pp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'manifests/params.pp') 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' -- cgit v1.2.3