Index: modules/adblockplus/manifests/puppet/agent.pp |
=================================================================== |
--- a/modules/adblockplus/manifests/puppet/agent.pp |
+++ b/modules/adblockplus/manifests/puppet/agent.pp |
@@ -38,7 +38,7 @@ |
}, $package)) |
# https://forge.puppet.com/puppetlabs/stdlib#getparam |
- if getparam(Package['puppet'], 'ensure') !~ /^(absent|purged)$/ { |
+ if ensure_state(Package['puppet']) { |
ensure_resource('service', 'puppet', merge({ |
'ensure' => 'stopped', |