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

Unified Diff: modules/web/manifests/server.pp

Issue 29440592: Noissue - Configure common $path for web::server exec resources (Closed)
Patch Set: Created May 17, 2017, 5:50 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: modules/web/manifests/server.pp
===================================================================
--- a/modules/web/manifests/server.pp
+++ b/modules/web/manifests/server.pp
@@ -105,9 +105,12 @@
'/opt/cms',
]
+ Exec {
+ path => ["/usr/bin/", "/bin/"],
+ }
+
exec {"fetch_cms":
command => shellquote($fetch_cms_cmd),
- path => ["/usr/bin/", "/bin/"],
require => Package['mercurial'],
timeout => 0,
creates => "/opt/cms/.hg/hgrc",
@@ -122,7 +125,6 @@
exec {"fetch_repo":
command => shellquote($fetch_repo_cmd),
- path => ["/usr/bin/", "/bin/"],
require => Package['mercurial'],
user => www,
timeout => 0,
@@ -136,7 +138,6 @@
exec {"initialize_content":
command => shellquote($initialize_content_exec),
- path => ["/usr/bin/", "/bin/"],
user => www,
subscribe => [Exec["fetch_repo"], Exec["fetch_cms"]],
refreshonly => true,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld