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

Side by Side Diff: modules/adblockplus/manifests/sudoers.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 | « modules/adblockplus/manifests/init.pp ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # http://hub.eyeo.com/issues/3913
2 define adblockplus::sudoers (
3 $config,
4 ) {
5
6 # modules/adblockplus/manifests/sudo.pp
7 include adblockplus::sudo
8
9 # https://forge.puppet.com/puppetlabs/stdlib#ensure_resource
10 # https://forge.puppet.com/puppetlabs/stdlib#merge
11 # modules/adblockplus/lib/puppet/parser/functions/ensure_file_state.rb
12 ensure_resource('file', "adblockplus::sudoers#$name", merge({
13 ensure => ensure_file_state(Package['sudo']),
14 group => 'root',
15 mode => '0440',
16 owner => 'root',
17 path => "/etc/sudoers.d/$name",
18 }, $config))
19 }
OLDNEW
« no previous file with comments | « modules/adblockplus/manifests/init.pp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld