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

Side by Side Diff: modules/adblockplus/manifests/init.pp

Issue 29557579: #3913 - Introduce adblockplus::sudoers parameter and type (Closed)
Patch Set: Created Sept. 27, 2017, 10:09 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | modules/adblockplus/manifests/sudoers.pp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « no previous file | modules/adblockplus/manifests/sudoers.pp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld