module-postgresql/templates
Colleen Murphy 6ba3179916 Fix data directory handling
The change introduced in b781849882 added
a complex operation that was not handled correctly for all operating
systems. This fix includes the following corrections:

- Change the systemd config and reload systemd for datadir changes in
  RHEL 7, and move configuration for this into
  postgresql::server::config since it is managing both the PGDATA and
  PGPORT variables
- Make sure Debian systems stop the service before changing the datadir
- Recreate cert links after running initdb in Debian and early ubuntu
- Change the port in the port spec to avoid selinux issues
- Turn off selinux in pgdata spec to avoid selinux issues
- Correct syntax for describing presence of a directory in pgdata spec
- Move the pgdata spec to the end of the tests so that puppet doesn't
  have to manager purging and recreating the original datadir
- Update README to describe all caveats of using this parameter
2014-10-31 16:03:15 -07:00
..
pg_hba_rule.conf Provide new defined resources for managing pg_hba.conf 2013-02-12 00:34:42 +00:00
pg_ident_rule.conf Create the pg_ident_rule defined type 2014-07-26 17:14:51 -05:00
systemd-override.erb Fix data directory handling 2014-10-31 16:03:15 -07:00