hw-cookbooks/postgresql — pull request #161 by crawley (2014-07-03 06:07:00+00:00)
Title: Fedora16+fixes

There are two issues with the server_redhat recipe on recent Fedora releases.
* The recipe fails when running the 'pgsql.config.erb' template because the parent directory (/etc/sysconfig/pgsql) no longer exists. According to the Fedora release docs, files in that directory are no longer used (post Fedora 16)
* It is no longer possible to use the SysV init script to init the database. You need to use the postgresql-init command instead.
These commits fix this ... and do some DRY refactoring as well.