Merge pull request #35 from antaflos/reload-postgres

Set sensible path in exec to reload postgres
This commit is contained in:
Chris Price 2012-11-15 16:17:57 -08:00
commit cb9f282a5f

View file

@ -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",
}
}