module-postgresql/spec/unit/defines/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_entry_spec.rb Fix data directory handling 2014-10-31 16:03:15 -07:00
database_grant_spec.rb Convert specs to RSpec 2.99.1 syntax with Transpec 2014-07-09 16:39:04 -04:00
database_spec.rb Convert specs to RSpec 2.99.1 syntax with Transpec 2014-07-09 16:39:04 -04:00
db_spec.rb Convert specs to RSpec 2.99.1 syntax with Transpec 2014-07-09 16:39:04 -04:00
grant_spec.rb Convert specs to RSpec 2.99.1 syntax with Transpec 2014-07-09 16:39:04 -04:00
pg_hba_rule_spec.rb Convert specs to RSpec 2.99.1 syntax with Transpec 2014-07-09 16:39:04 -04:00
pg_ident_rule_spec.rb Set manage_pg_ident_conf to false for backward compatibility 2014-07-28 13:00:21 -05:00
role_spec.rb Convert specs to RSpec 2.99.1 syntax with Transpec 2014-07-09 16:39:04 -04:00
schema_spec.rb defined type for creating database schemas 2014-07-25 17:10:40 +02:00
table_grant_spec.rb Convert specs to RSpec 2.99.1 syntax with Transpec 2014-07-09 16:39:04 -04:00
tablespace_spec.rb Convert specs to RSpec 2.99.1 syntax with Transpec 2014-07-09 16:39:04 -04:00