module-postgresql/manifests/server
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
..
config.pp Fix data directory handling 2014-10-31 16:03:15 -07:00
config_entry.pp Fix data directory handling 2014-10-31 16:03:15 -07:00
contrib.pp Remove the ensure => absent uninstall code. 2014-07-12 12:15:42 -04:00
database.pp fix future parser error 2014-09-16 11:19:43 -07:00
database_grant.pp Major rewrite to solve order dependencies and unclear public API 2013-09-14 06:39:15 +01:00
db.pp Ensure db user exists before validating db connection 2014-05-23 17:05:17 -04:00
grant.pp Add support for port parameter to postgresql::server, fix underlying assumptions that port=5432 2014-04-17 15:09:07 -04:00
initdb.pp Fix data directory handling 2014-10-31 16:03:15 -07:00
install.pp Remove the ensure => absent uninstall code. 2014-07-12 12:15:42 -04:00
passwd.pp Remove the ensure => absent uninstall code. 2014-07-12 12:15:42 -04:00
pg_hba_rule.pp Fixed deprecation warning for class param in server.pp. Changed subclasses of server to use ::_version, which will be assigned the value from globals or (deprecated) class param. 2014-08-18 11:26:06 +02:00
pg_ident_rule.pp Create the pg_ident_rule defined type 2014-07-26 17:14:51 -05:00
plperl.pp Remove the ensure => absent uninstall code. 2014-07-12 12:15:42 -04:00
postgis.pp Remove the ensure => absent uninstall code. 2014-07-12 12:15:42 -04:00
reload.pp Remove the ensure => absent uninstall code. 2014-07-12 12:15:42 -04:00
role.pp Fixed deprecation warning for class param in server.pp. Changed subclasses of server to use ::_version, which will be assigned the value from globals or (deprecated) class param. 2014-08-18 11:26:06 +02:00
schema.pp Unfortunately this didn't work on > 9.3 in practice. 2014-08-29 16:39:34 -04:00
service.pp Remove the ensure => absent uninstall code. 2014-07-12 12:15:42 -04:00
table_grant.pp Add support for port parameter to postgresql::server, fix underlying assumptions that port=5432 2014-04-17 15:09:07 -04:00
tablespace.pp This seems to fix up selinux for tablespace. 2014-08-01 14:56:25 -04:00