Hunter Haugen
8160fa77fc
Merge pull request #262 from bcomnes/amazon
...
Special case for $datadir on Amazon
2013-10-02 15:49:27 -07:00
Bret Comnes
5e142cbeba
Defined $default_version for Fedora 17
...
I have not actually tested this. I based it off
of http://distrowatch.org/table.php?distribution=fedora
Closes #90
2013-10-02 14:27:46 -07:00
Bret Comnes
2718f14017
Special case for $datadir on Amazon
...
Closes #252
2013-10-02 12:48:44 -07:00
Ashley Penney
fc48c19894
Merge pull request #259 from apenney/300-release
...
Prepare 3.0.0 release.
2013-10-02 06:47:10 -07:00
Ashley Penney
ea9db68ca9
Prepare 3.0.0 release.
2013-10-01 13:21:59 -04:00
Ashley Penney
66037e8264
Merge pull request #258 from apenney/license
...
Fix license file.
2013-09-30 10:18:08 -07:00
Ashley Penney
e4ce57be6e
Fix license file.
2013-09-30 13:17:37 -04:00
Ken Barber
77dd7915f4
Merge pull request #255 from mnencia/patch-6
...
Support apt.postgresql.org version specific packages.
2013-09-29 13:06:50 -07:00
Marco Nenciarini
0cb71c7c5f
Support apt.postgresql.org version specific packages.
...
This change will allow to test beta and release candidate version of
postgres from apt.postgresql.org.
For stable version this change will make available the libpq package
for that specific version (that will not hurts).
2013-09-25 18:01:07 +02:00
Ashley Penney
6ac2e25821
Merge pull request #249 from aboe76/master
...
Added Archlinux Support
2013-09-23 16:22:59 -07:00
Ashley Penney
5ac999b72c
Merge pull request #251 from kamilszymanski/authentication_method_validation
...
Validate authentication method against server version
2013-09-23 12:19:28 -07:00
Niels Abspoel
1e3bcb73bb
Added Archlinux Support
2013-09-23 20:08:17 +02:00
Ken Barber
96d7a16e04
Merge pull request #250 from kamilszymanski/linting
...
lint fixes
2013-09-23 06:12:49 -07:00
Kamil Szymanski
71e0236659
Validate authentication method against server version
2013-09-22 22:35:18 +02:00
Kamil Szymanski
480fc64f6b
lint fixes
2013-09-21 19:45:35 +02:00
Ashley Penney
1a53de99d5
Merge pull request #248 from gjngeldenhuis/spelling
...
Fixing small typos
2013-09-20 10:14:14 -07:00
Ashley Penney
cada1d7f1c
Merge pull request #245 from kbarber/pgsql-major-rewrite-with-features
...
Pgsql major rewrite with features
2013-09-20 09:54:24 -07:00
Gerrard Geldenhuis
ce93e93534
Fixing small typos
2013-09-20 17:41:53 +01:00
Ken Barber
891b1d71a2
Rename contrib to server::contrib
...
Signed-off-by: Ken Barber <ken@bob.sh>
2013-09-20 14:35:24 +01:00
Ken Barber
56c10986a8
Ensure we use port 5432 for postgresql
...
Signed-off-by: Ken Barber <ken@bob.sh>
2013-09-20 01:17:43 +01:00
Ken Barber
3ba3b6df54
Ensure proper removal of the client package
...
Signed-off-by: Ken Barber <ken@bob.sh>
2013-09-19 23:51:16 +01:00
Ken Barber
fa82eec94b
Fix encoding issues for ubuntu
...
Signed-off-by: Ken Barber <ken@bob.sh>
2013-09-19 21:15:09 +01:00
Ken Barber
809003d0f9
serverspec + some cleanup
...
Signed-off-by: Ken Barber <ken@bob.sh>
2013-09-19 16:30:15 +01:00
Ken Barber
2876dacb94
Make sure $ensure is passed through to repo correctly
...
Signed-off-by: Ken Barber <ken@bob.sh>
2013-09-19 01:16:20 +01:00
Ken Barber
e5562621ec
Fix table_grant tests
...
Signed-off-by: Ken Barber <ken@bob.sh>
2013-09-18 23:11:10 +01:00
Ken Barber
c8d3ecde14
Various cleanups
...
Signed-off-by: Ken Barber <ken@bob.sh>
2013-09-18 22:25:51 +01:00
Ken Barber
1fbc9c6ece
Add switch for service_name that works for centos
...
Signed-off-by: Ken Barber <ken@bob.sh>
2013-09-18 17:08:46 +01:00
Ken Barber
31e9b62a51
Correct some more failing tests
...
Signed-off-by: Ken Barber <ken@bob.sh>
2013-09-18 15:06:35 +01:00
Ken Barber
5370fbeb10
Fix selinux permissions for fedora tests
...
Signed-off-by: Ken Barber <ken@bob.sh>
2013-09-18 13:40:15 +01:00
Ken Barber
a8f86f9df1
Skip firewall tests for Fedora
...
Signed-off-by: Ken Barber <ken@bob.sh>
2013-09-18 01:32:00 +01:00
Ken Barber
b9598796e0
Calculate default version for Fedora
...
Signed-off-by: Ken Barber <ken@bob.sh>
2013-09-18 00:05:14 +01:00
Ken Barber
cd2bc50cdf
Fix repo removal for testing purposes
...
Signed-off-by: Ken Barber <ken@bob.sh>
2013-09-17 22:19:01 +01:00
Ken Barber
ce94eb348a
Modify tests for postgresql::server to test for purged state
...
Since we are now forcing ensure => purged in places, some unit tests need to
be reworked to accept that.
Signed-off-by: Ken Barber <ken@bob.sh>
2013-09-14 06:39:17 +01:00
Ken Barber
27c5cc0304
Provide package removal fixes for Debian tests
...
This patch provides fixes to help tests pass on Debian. The failures were in
relation to the lack of proper removal of the server and contrib parts. Setting
the ensure => purged parameter for removal seems to have solved a lot of this.
Also, the ordering for contrib being (un)installed needed some work.
I've also made sure we use 'purged' a lot more in tests to make sure we clean
up after ourselves properly.
Signed-off-by: Ken Barber <ken@bob.sh>
2013-09-14 06:39:17 +01:00
Ken Barber
402a6b9608
Include firewall class in firewall based test
...
Signed-off-by: Ken Barber <ken@bob.sh>
2013-09-14 06:39:17 +01:00
Ken Barber
a0a2a00a49
Fix debian 7 regexp, rename to default_version and some cleanup
...
Signed-off-by: Ken Barber <ken@bob.sh>
2013-09-14 06:39:17 +01:00
Ken Barber
7d84b6ac0e
Add datadir back, as its used within a lot of tests
...
Signed-off-by: Ken Barber <ken@bob.sh>
2013-09-14 06:39:17 +01:00
Ken Barber
59c1cbfbf8
Major rewrite to solve order dependencies and unclear public API
...
This is a very very large change to the module. It started out as a fix to add
postgresl::server::config_entry, and quickly became a rewrite to fix a lot of
ordering issues inherent in the API.
Since this changes the Public API it is considered a backwards compatible
change.
See the upgrading guide in README.md for more details as to what has been
modified in this patch.
Signed-off-by: Ken Barber <ken@bob.sh>
2013-09-14 06:39:15 +01:00
Rahul Gopinath
20bdf10b72
Adding anchors around contained resources
2013-09-14 06:38:53 +01:00
Rahul Gopinath
1dce6454c8
Pulling in pgconf module from camptocamp/puppet-pgconf
...
This includes the following changes:
- Hooking up pgconf module to postgresql to manage postgresql.conf
- pgconf includes a type and provider for postgresql.conf the provider
is a simple parsed file following basic ini parsing.
- Add config_entry.pp which wraps the pgconf module.
- Replace file_line resources by postgresql::config_entry in beforeservice.pp
- Adding unit tests for the newly introduced functionality
2013-09-14 06:38:53 +01:00
Ashley Penney
efb5daae5d
Merge pull request #239 from GregSutcliffe/master
...
Remove trailing comma which breaks 2.6 compat
2013-09-13 10:43:08 -07:00
Ashley Penney
1d416a6c15
Merge pull request #237 from apenney/travis
...
Remove 3.0, 3.1, and 2.6 to shrink the test matrix.
2013-09-09 15:00:21 -07:00
Ashley Penney
797cb525d5
Goodbye, create_resources.
2013-09-09 17:59:24 -04:00
Ashley Penney
f56eec8bd9
Merge pull request #243 from apenney/2.4.2-release
...
2.5.0 release.
2013-09-09 14:44:02 -07:00
Ashley Penney
359401a748
Prepare a 2.5.0 release.
2013-09-09 17:28:18 -04:00
Greg Sutcliffe
ba005467dc
Remove trailing comma which breaks 2.6 compat
2013-08-30 13:00:57 +01:00
Ashley Penney
be12f1c55b
Remove 3.0, 3.1, and 2.6 to shrink the test matrix.
...
Oh, and kill off ruby-head.
2013-08-27 15:02:45 -04:00
Ashley Penney
8ce9952600
Merge pull request #236 from apenney/style
...
Style fixes (and a bugfix)
2013-08-27 12:00:30 -07:00
Ashley Penney
c2d48f1953
Merge pull request #235 from kamilszymanski/db_docs_update
...
Add missing documentation for istemplate parameter
2013-08-27 12:00:10 -07:00
Ashley Penney
d378d8aa17
Merge pull request #209 from mnencia/patch-1
...
Tag the postgresql-contrib package as postgresql
2013-08-27 11:58:18 -07:00