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