Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Do not run the reload of postgresql as postgresql
While this worked fine in Ubuntu, it failed silently in Centos.

The script is really designed to be ran as root, so removing the user
property. This was failing our new pg_hba_rule tests without it.

Signed-off-by: Ken Barber <[email protected]>
  • Loading branch information
kbarber committed Feb 12, 2013
commit b9db279c04e0f3437dfa70f53331857eef4a1344
2 changes: 0 additions & 2 deletions manifests/server.pp
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@
exec { 'reload_postgresql':
path => '/usr/bin:/usr/sbin:/bin:/sbin',
command => "service ${service_name} reload",
user => $postgresql::params::user,
group => $postgresql::params::group,
onlyif => $service_status,
refreshonly => true,
}
Expand Down