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

Delta Between Two Patch Sets: modules/adblockplus/manifests/init.pp

Issue 29610573: #5315 - Introduce adblockplus::services parameter in Hiera (Closed)
Left Patch Set: #5315 - Remove changes included by accident Created Nov. 16, 2017, 4:30 p.m.
Right Patch Set: #5315 - Remove duplicate "the" from documentation Created Nov. 16, 2017, 4:31 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « no previous file | no next file » | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 # == Class: adblockplus 1 # == Class: adblockplus
2 # 2 #
3 # The adblockplus class and the associated adblockplus:: namespace are 3 # The adblockplus class and the associated adblockplus:: namespace are
4 # used to integrate Puppet modules with each other, in order to assemble 4 # used to integrate Puppet modules with each other, in order to assemble
5 # the setups used by the Adblock Plus project. 5 # the setups used by the Adblock Plus project.
6 # 6 #
7 # === Parameters: 7 # === Parameters:
8 # 8 #
9 # [*authority*] 9 # [*authority*]
10 # The authorative domain or zone associated with the current environment. 10 # The authorative domain or zone associated with the current environment.
11 # 11 #
12 # [*hosts*] 12 # [*hosts*]
13 # A hash of adblockplus::host $name => $parameter items to set up in this 13 # A hash of adblockplus::host $name => $parameter items to set up in this
14 # context, i.e. via Hiera. 14 # context, i.e. via Hiera.
15 # 15 #
16 # [*users*] 16 # [*users*]
17 # A hash of adblockplus::user $name => $parameter items to set up in this 17 # A hash of adblockplus::user $name => $parameter items to set up in this
18 # context, i.e. via Hiera. 18 # context, i.e. via Hiera.
19 # 19 #
20 # [*packages*] 20 # [*packages*]
21 # An array of adblockplus::packages items to set up in this context, 21 # An array of adblockplus::packages items to set up in this context,
22 # via Hiera, exclusively. 22 # via Hiera, exclusively.
23 # 23 #
24 # [*services*] 24 # [*services*]
25 # A hiera_hash() of zero or more service items used as 2nd parameter for 25 # A hiera_hash() of zero or more service items used as 2nd parameter for
26 # the the ensure_resources('service', ...) function. 26 # the ensure_resources('service', ...) function.
27 # 27 #
28 # === Examples: 28 # === Examples:
29 # 29 #
30 # class {'adblockplus': 30 # class {'adblockplus':
31 # hosts => { 31 # hosts => {
32 # 'node1' => { 32 # 'node1' => {
33 # # see adblockplus::host 33 # # see adblockplus::host
34 # }, 34 # },
35 # }, 35 # },
36 # users => { 36 # users => {
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 create_resources('adblockplus::user', $users) 147 create_resources('adblockplus::user', $users)
148 148
149 # modules/adblockplus/manifests/sudoers.pp 149 # modules/adblockplus/manifests/sudoers.pp
150 $sudoers = hiera_hash('adblockplus::sudoers', {}) 150 $sudoers = hiera_hash('adblockplus::sudoers', {})
151 create_resources('adblockplus::sudoers', $sudoers) 151 create_resources('adblockplus::sudoers', $sudoers)
152 152
153 # https://puppet.com/docs/puppet/latest/types/service.html 153 # https://puppet.com/docs/puppet/latest/types/service.html
154 $services = hiera_hash('adblockplus::services', {}) 154 $services = hiera_hash('adblockplus::services', {})
155 create_resources('service', $services) 155 create_resources('service', $services)
156 } 156 }
LEFTRIGHT
« no previous file | no next file » | Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Toggle Comments ('s')

Powered by Google App Engine
This is Rietveld