OLD | NEW |
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*] |
| 21 # An array of adblockplus::packages items to set up in this context, i.e. |
| 22 # via Hiera. |
| 23 # |
20 # === Examples: | 24 # === Examples: |
21 # | 25 # |
22 # class {'adblockplus': | 26 # class {'adblockplus': |
23 # hosts => { | 27 # hosts => { |
24 # 'node1' => { | 28 # 'node1' => { |
25 # # see adblockplus::host | 29 # # see adblockplus::host |
26 # }, | 30 # }, |
27 # }, | 31 # }, |
28 # users => { | 32 # users => { |
29 # 'pinocchio' => { | 33 # 'pinocchio' => { |
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
112 ensure => 'present', | 116 ensure => 'present', |
113 mode => 0644, | 117 mode => 0644, |
114 }) | 118 }) |
115 | 119 |
116 # See modules/adblockplus/manifests/host.pp | 120 # See modules/adblockplus/manifests/host.pp |
117 create_resources('adblockplus::host', $hosts) | 121 create_resources('adblockplus::host', $hosts) |
118 | 122 |
119 # See modules/adblockplus/manifests/user.pp | 123 # See modules/adblockplus/manifests/user.pp |
120 create_resources('adblockplus::user', $users) | 124 create_resources('adblockplus::user', $users) |
121 } | 125 } |
OLD | NEW |