Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: modules/adblockplus/manifests/puppet/master.pp

Issue 29367556: Issue 3065 - Refactor adblockplus::puppet module to include Puppet patches (Closed)
Patch Set: Created Dec. 15, 2016, 9:58 a.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: modules/adblockplus/manifests/puppet/master.pp
===================================================================
--- a/modules/adblockplus/manifests/puppet/master.pp
+++ b/modules/adblockplus/manifests/puppet/master.pp
@@ -29,12 +29,14 @@
$service = hiera('adblockplus::puppet::master::service', {}),
) {
- include adblockplus
+ include adblockplus::puppet
include puppetmaster
include stdlib
# https://forge.puppet.com/puppetlabs/stdlib#ensure_resource
- ensure_resource('package', 'puppetmaster', $package)
+ ensure_resource('package', 'puppetmaster', merge({
+ 'ensure' => $adblockplus::puppet::ensure,
+ }, $package))
# https://forge.puppet.com/puppetlabs/stdlib#getparam
if getparam(Package['puppet'], 'ensure') !~ /^(absent|purged)$/ {

Powered by Google App Engine
This is Rietveld