Merge pull request #35 from antaflos/reload-postgres
Set sensible path in exec to reload postgres
This commit is contained in:
commit
cb9f282a5f
1 changed files with 3 additions and 2 deletions
|
@ -49,8 +49,9 @@ class postgresql::server (
|
|||
status => $service_status,
|
||||
}
|
||||
|
||||
exec {'reload_postgresql':
|
||||
exec { 'reload_postgresql':
|
||||
path => '/usr/bin:/usr/sbin:/bin:/sbin',
|
||||
command => "service ${postgresql::params::service_name} reload",
|
||||
refreshonly => true,
|
||||
command => "/usr/bin/service ${postgresql::params::service_name} reload",
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue