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. |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 ensure_resource('file', '/etc/ssh/ssh_known_hosts', { | 134 ensure_resource('file', '/etc/ssh/ssh_known_hosts', { |
135 ensure => 'present', | 135 ensure => 'present', |
136 mode => '0644', | 136 mode => '0644', |
137 }) | 137 }) |
138 | 138 |
139 # See modules/adblockplus/manifests/host.pp | 139 # See modules/adblockplus/manifests/host.pp |
140 create_resources('adblockplus::host', $hosts) | 140 create_resources('adblockplus::host', $hosts) |
141 | 141 |
142 # See modules/adblockplus/manifests/user.pp | 142 # See modules/adblockplus/manifests/user.pp |
143 create_resources('adblockplus::user', $users) | 143 create_resources('adblockplus::user', $users) |
| 144 |
| 145 # modules/adblockplus/manifests/sudoers.pp |
| 146 $sudoers = hiera_hash('adblockplus::sudoers', {}) |
| 147 create_resources('adblockplus::sudoers', $sudoers) |
144 } | 148 } |
OLD | NEW |