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

Unified Diff: modules/adblockplus/manifests/init.pp

Issue 29481697: Noissue - Merge packages variable correctly of all hiera scopes in adblockplus module (Closed)
Patch Set: Created July 6, 2017, 8:01 p.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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/adblockplus/manifests/init.pp
===================================================================
--- a/modules/adblockplus/manifests/init.pp
+++ b/modules/adblockplus/manifests/init.pp
@@ -19,7 +19,7 @@
#
# [*packages*]
# An array of adblockplus::packages items to set up in this context,
-# i.e. via Hiera.
+# via Hiera, exclusively.
#
# === Examples:
#
@@ -39,7 +39,6 @@
class adblockplus (
$authority = hiera('adblockplus::authority', 'adblockplus.org'),
$hosts = hiera_hash('adblockplus::hosts', {}),
- $packages = hiera_array('adblockplus::packages', []),
$users = hiera_hash('adblockplus::users', {}),
) {
@@ -115,6 +114,7 @@
Exec['apt_update'] -> Package<|title != 'python-software-properties'|>
# https://issues.adblockplus.org/ticket/3574#comment:19
+ $packages = hiera_array('adblockplus::packages', []),
ensure_packages($packages)
# https://projects.puppetlabs.com/issues/4145
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld