Ashley Penney
e947e96e79
Fix the way we remove postgresql::client.
2014-05-09 16:36:31 -04:00
Ashley Penney
05b77232f9
Allow psql to fail as it sometimes will in the tests.
2014-05-09 15:28:30 -04:00
Ashley Penney
b7685998b6
Various fixes to the tests.
2014-05-09 15:28:19 -04:00
Ashley Penney
4334dc7bd9
Stop postgresql before changing port.
2014-05-09 15:28:00 -04:00
Ashley Penney
6bf896fa34
Switch to 'running'/'stopped' to match the test below.
2014-05-08 19:50:11 -04:00
Ashley Penney
4e002d7fd9
Make sure we continue working post 7.0.
2014-05-08 16:52:04 -04:00
Ashley Penney
3205359afe
Make sure we set selinux contexts on Redhat.
2014-05-08 16:49:25 -04:00
Ashley Penney
06f1727336
Various test updates to handle RHEL7 better.
2014-05-08 16:48:57 -04:00
Ashley Penney
e71cdfc044
Add the template for port overriding on RHEL7.
...
This lets us tell systemd to do the right thing. Can be extended later
for PGDATA.
2014-05-08 16:48:29 -04:00
Ashley Penney
5488821ce6
Ensure we've always started postgresql at least once before a reload.
2014-05-08 16:47:37 -04:00
Ashley Penney
a575884908
Ensure repo is in place before postgis installation.
...
We need to make sure we've actually setup the repo before installing
postgis.
2014-05-08 16:47:10 -04:00
Ashley Penney
3e3fa8cab1
Handle ports for systemd.
...
This is a terrible hack currently but it appropriately handles systemd.
2014-05-08 16:46:39 -04:00
Ashley Penney
d010bc8c7f
This doesn't exist on RHEL7.
2014-05-08 16:46:09 -04:00
Ashley Penney
5323054ddc
Update for RHEL7.
...
Block RHEL7 from pulling in the PostgreSQL repos from upstream as they
don't exist yet.
2014-05-08 16:44:53 -04:00
Ashley Penney
5e33409342
Add service_ensure
.
...
This allows you to control the status of the Postgresql service directly
from postgresql::server.
2014-05-08 16:43:22 -04:00
Ashley Penney
702998d8fd
Merge pull request #407 from hunner/deprecate_version
...
(MODULES-630) Deprecate postgresql::server::version
2014-05-07 18:28:26 -04:00
Hunter Haugen
21001d5b0c
(MODULES-630) Deprecate postgresql::server::version
...
Adjusting the version is explicitly done though the postgresql::globals
class, as this affects many parts of the module. This parameter did not
function correctly on systems that did not have a default, as described
in the ticket.
2014-05-07 15:25:18 -07:00
Morgan Haskel
7fb35f52c1
Merge pull request #412 from apenney/fix-tests-1404
...
Fix tests 1404
2014-05-05 19:25:09 -04:00
Ashley Penney
4c85eee2d8
Fixes to get the tests running on Ubuntu 14.04.
2014-05-06 01:22:59 +02:00
Ashley Penney
f75dbbf10d
Move into the hosts loop.
2014-05-05 22:44:47 +02:00
Ashley Penney
791fc3db94
This is already set in config.pp and so we need to pick a unique
...
name.
2014-05-05 22:44:34 +02:00
Ashley Penney
7fb959ee95
Merge pull request #411 from apenney/fix-1404
...
[WIP] (don't merge) Fix for Ubuntu 14.04.
2014-05-05 14:28:19 -04:00
Ashley Penney
469feb6bf9
Wrap this in a test for PE.
2014-05-03 00:57:02 +02:00
Ashley Penney
f818fbecf8
Fix for Ubuntu 14.04.
2014-05-02 23:54:09 +02:00
Hunter Haugen
468c24d87a
Merge pull request #406 from bjoernhaeuser/fix_rspec_acceptance_call
...
Fix how to run the acceptance tests
2014-04-24 13:13:51 -07:00
Björn Häuser
6f5bd1aa4e
Fix how to run the acceptance tests
2014-04-24 22:10:18 +02:00
Ashley Penney
b550d4ba6e
Merge pull request #404 from thunderkeys/postgresql-server-port-support
...
Add support for port parameter to postgresql::server
2014-04-17 16:53:38 -04:00
Brian Almeida
86f2950248
Add support for port parameter to postgresql::server, fix underlying assumptions that port=5432
2014-04-17 15:09:07 -04:00
Ashley Penney
3d73e7fe7f
Merge pull request #372 from jhoblitt/feature/pg_hba.conf-ownership
...
change pg_hba.conf to be owned by postgres user account
2014-04-17 13:31:04 -04:00
Ashley Penney
a29d038287
Merge pull request #401 from cfeskens/add-perl-support
...
Add class postgresql::lib::perl for perl support
2014-04-17 13:27:00 -04:00
Ashley Penney
593ed5b9dd
Merge pull request #402 from mcanevet/fix/strict_variables
...
Add strict_variables support in unit tests
2014-04-09 12:04:32 -04:00
Mickaël Canévet
0b7bb333d8
Fix strict_variables issues
2014-04-08 17:37:29 +02:00
Mickaël Canévet
47bc3423f6
Add strict_variables support in unit tests
2014-04-08 16:38:38 +02:00
Casey Feskens
9e60640bd9
Add class postgresql::lib::perl for perl support
2014-04-04 06:13:30 -07:00
Ashley Penney
e26036c176
Merge pull request #297 from reidmv/fix_postgresql_conf_quote_logic
...
Fix postgresql_conf quote logic
2014-04-03 14:04:30 -04:00
Ashley Penney
0adbcfb64f
Merge pull request #280 from 3dna/feature/postgis
...
postgis support
2014-04-02 09:31:03 -04:00
Ashley Penney
d8875983c9
Merge pull request #395 from thunderkeys/postgresql-server-role-inherit-support
...
Postgresql server role inherit support
2014-04-02 07:30:20 -04:00
Simon Séhier
75f6d687ce
Convert rspec-sytem to acceptance for postgis
2014-03-31 21:40:01 +00:00
Jeremy Kitchen
c4bca511e9
add support for postgis
...
rhel support added by @mcanevet, but the branch has been squashed.
thanks!
2014-03-31 21:40:01 +00:00
Reid Vandewiele
a99ad69f3e
Add tests
...
The test sets an ip address, uses language to indicate it should end up
in quotes.
2014-03-31 09:29:03 -07:00
Reid Vandewiele
0573c158a2
Fix postgresql_conf quote logic
...
Things like IP addresses DO need to be in quotes. Fixing regex to reflect
requirement.
2014-03-31 09:29:03 -07:00
Brian Almeida
3887f36943
Add spec/acceptance test for inherit option to postgresql::server::role
2014-03-27 18:10:23 -04:00
Ashley Penney
81b3e84f89
Merge pull request #397 from pieterlexis/exported_db
...
Allow the ex- and import of postgresql::server::db
2014-03-27 17:15:30 -04:00
Hunter Haugen
2d138b993b
Merge pull request #398 from igalic/rake
...
Fixed travis by updating Gemfile to pin Rake to 10.1.1
2014-03-27 13:32:01 -07:00
Igor Galić
5b386f1d49
Fixed travis by updating Gemfile to pin Rake to 10.1.1
...
The latest Rake update requires Ruby >= 1.9. This update
fixes the failing 1.8.7 tests by pinning Rake to the last
supported version on ruby 1.8.7.
This patch is borrowed from @blkperl
2014-03-27 21:29:17 +01:00
Pieter Lexis
dcdc7c8f5a
Allow the ex- and import of postgresql::server::db
2014-03-27 16:49:48 +01:00
Ashley Penney
a4661607d1
Merge pull request #393 from mcanevet/dev/rspec_puppet_1_0
...
Fix unit tests with rspec-puppet 1.0
2014-03-27 11:08:02 -04:00
Brian Almeida
0ee337bff2
Add documentation on inherit parameter to README.md
2014-03-24 11:22:41 -04:00
Brian Almeida
ad083d0e4d
Add support to postgresql::server::role for INHERIT/NOINHERIT
2014-03-24 11:19:12 -04:00
Mickaël Canévet
67cd6f73f4
Fix unit tests with rspec-puppet 1.0
2014-03-21 13:58:26 +01:00