Skip to content

Commit

Permalink
Add more PATH to reload
Browse files Browse the repository at this point in the history
  • Loading branch information
GregSutcliffe committed Jan 22, 2013
1 parent d4d1de2 commit 6e3d58d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/service.pp
Expand Up @@ -15,7 +15,7 @@


exec { 'reload-apache': exec { 'reload-apache':
command => "service ${http_service} reload", command => "service ${http_service} reload",
path => ["/sbin", "/usr/sbin"], path => ["/sbin", "/usr/sbin", "/bin", "/usr/bin"],
onlyif => $::operatingsystem ? { onlyif => $::operatingsystem ? {
/(Debian|Ubuntu)/ => '/usr/sbin/apache2ctl -t', /(Debian|Ubuntu)/ => '/usr/sbin/apache2ctl -t',
default => '/usr/sbin/apachectl -t', default => '/usr/sbin/apachectl -t',
Expand Down

0 comments on commit 6e3d58d

Please sign in to comment.