opscode-cookbooks/postgresql — pull request #6 by lflux (2012-07-11 17:37:53+00:00)
Title: Fix COOK-1437. Start postgresql service after templating postgresql.conf

Currently postgresql.conf template changes won't get picked up until
after chef-client run is finished. This has implications if subsequent
recipes in the run depened on postgresql.conf changes, such as
non-default IP/port configurations or logging.

Instead, define and enable service, template configuration, then start
service. Will force a restart at the end of run still, but at least
the configuration is correct during the run.