puppetlabs/puppet-postgresql — pull request #33 by antaflos (2012-11-09 22:54:05+00:00)
Title: Reload postgresql after changes to pg_hba.conf

This is a very simple fix for issue #31. A new exec resource "reload_postgresql" is defined and the "pg_hba.conf" resource notifies it after changes to pg_hba.conf. This avoids unnecessary restarts of the whole cluster for changes that only need a reload (such as those in pg_hba.conf).

I believe this works on both Debian an Redhat OS families, but I have no instance of the latter available for testing.