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

Unified Diff: modules/puppetmaster/files/sudoers-update-infrastructure

Issue 5831709236920320: Issue 2200 - Drop sudo privileges for hiera in favour of cat (Closed)
Patch Set: Created April 8, 2015, 1 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | modules/users/files/sudoers-puppet » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/puppetmaster/files/sudoers-update-infrastructure
===================================================================
--- a/modules/puppetmaster/files/sudoers-update-infrastructure
+++ b/modules/puppetmaster/files/sudoers-update-infrastructure
@@ -1,1 +1,2 @@
%sudo ALL=(ALL) NOPASSWD:/usr/bin/hg pull -qu -R /etc/puppet/infrastructure,/usr/bin/hg pull -qu -R /etc/puppet/infrastructure/modules/private,/etc/puppet/infrastructure/ensure_dependencies.py /etc/puppet/infrastructure
+%sudo ALL=(ALL) NOPASSWD:/bin/cat /etc/puppet/infrastructure/modules/private/hiera/hosts.yaml
« no previous file with comments | « no previous file | modules/users/files/sudoers-puppet » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld