Commit graph

541 commits

Author SHA1 Message Date
Ken Barber
2b8f5f1a1c Increase stdlib dependency to include 5.x
Without this patch, librarian-puppet will do strange things like roll back
the version of puppetdb to version 1.0.1 to satisfy all constraints.

Signed-off-by: Ken Barber <ken@bob.sh>
2013-04-26 16:45:19 +01:00
Ken Barber
08b7bdba49 Merge pull request #172 from dprince/python_module
Adds new postgresql::python module.
2013-04-22 14:40:38 -07:00
Dan Prince
03b3df3ab9 Add test on postgresql::python. 2013-04-22 11:30:07 -04:00
Flaper Fesp
bd9bcf4cc2 Add support for psycopg installation 2013-04-22 11:07:50 -04:00
Flaper Fesp
9a307d986a Add support for psycopg installation 2013-04-22 11:04:01 -04:00
Ken Barber
8aa916583e Merge pull request #171 from kamilszymanski/ubuntu_raring_support
Add default PostgreSQL version for Ubuntu 13.04
2013-04-19 07:32:04 -07:00
Kamil Szymanski
10aca2ce2f Add default PostgreSQL version for Ubuntu 13.04 2013-04-18 23:11:40 +02:00
Ken Barber
5e4045d0c9 Merge pull request #158 from harbulot/user_nopassword
Adding the ability to create users without a password.
2013-04-12 12:08:49 -07:00
Ken Barber
3804c9323c Merge pull request #162 from domcleal/pp26-fixes
Three Puppet 2.6 fixes
2013-03-27 04:21:06 -07:00
Dominic Cleal
61b0b16c9b Add create_resources to fix Travis CI failure on Puppet 2.6 2013-03-21 23:38:48 +00:00
Dominic Cleal
4b5212f803 Enable hasstatus for EL and Puppet 2.6, to detect running server 2013-03-21 18:13:17 +00:00
Dominic Cleal
afa63ef850 Pass only arrays to Puppet::Util.execute() for Puppet 2.6 compatibility 2013-03-21 18:13:13 +00:00
Dominic Cleal
a8b382276a Change connection_limit default to string, Puppet 2.6 can't parse negative ints 2013-03-21 18:13:05 +00:00
Ken Barber
1fe648db19 Merge pull request #161 from domcleal/concat-setup
Add explicit call to concat::setup when creating concat file
2013-03-21 03:36:24 -07:00
Dominic Cleal
1dd687c882 Add explicit call to concat::setup when creating concat file 2013-03-21 10:13:43 +00:00
Bruno Harbulot
dd05232177 Adding the ability to create users without a password. 2013-03-16 17:32:27 +00:00
Bruno Harbulot
33c56e97ef Setting the owner of the database with createdb. 2013-03-16 16:23:51 +00:00
Andreas Ntaflos
5f7087e68c Set /tmp as default CWD for postgresql_psql
This has been discussed in issue #148. The postgresql_psql type doesn't
change the CWD to something safe when running psql as the postgres user.
During a regular puppet run the CWD remains "/root", to which the
postgres user usually does not have access, resulting in failed psql
calls and failed puppet runs. This simple change makes "/tmp" the
default CWD for postgresql_psql.
2013-03-08 19:24:52 +01:00
Ken Barber
572f090a1d Merge pull request #135 from kamilszymanski/contrib
Add supprot for contrib package
2013-03-05 00:52:46 -08:00
Kamil Szymanski
82ce5d0480 Add documentation, rspec test and support for global overriding contrib package name 2013-03-02 10:49:57 +01:00
Kamil Szymanski
c6aec41f1b Add supprot for contrib package 2013-03-02 10:46:34 +01:00
Ken Barber
78e183c43b Merge pull request #142 from kamilszymanski/connection_limit
Allow to set connection limit for new role
2013-03-01 06:32:22 -08:00
Ken Barber
490db27c3f Merge pull request #141 from kamilszymanski/hba_rule_fix
fix pg_hba_rule for postgres local access
2013-03-01 05:45:57 -08:00
Ken Barber
9c4f6e63a8 Merge pull request #145 from Seldaek/patch-3
Fix readme typo
2013-02-28 13:58:09 -08:00
Jordi Boggiano
19a37f8b17 Fix readme typo 2013-02-28 20:25:16 +01:00
Chris Price
16c7dda9d4 Merge pull request #143 from kamilszymanski/postgres_default_version
Update postgres_default_version for Ubuntu
2013-02-28 09:19:02 -08:00
Kamil Szymanski
b46763d4a7 Update postgres_default_version for Ubuntu 2013-02-28 16:04:43 +01:00
Kamil Szymanski
e7b25d6b29 Allow to set connection limit for new role 2013-02-28 00:43:24 +01:00
Kamil Szymanski
7a8f7ace59 fix pg_hba_rule for postgres local access 2013-02-27 12:14:13 +01:00
Chris Price
cb1a751fed Merge pull request #140 from kbarber/maint/master/fix_travis_gem_versions
Fix versions for travis-ci
2013-02-26 09:36:40 -08:00
Ken Barber
794ef22934 Fix versions for travis-ci
This fixes some mistakes in the .travis.yml file:

* Corrects matches so the minor gem revisions get rounded, this means 2.6.0
  for example is used.
* Adds Ruby 2.0.0 tests
* Allows 2.6.0 to fail for now, as it doesn't have create_resources.
* Removes trailing commas and arrays in functions for 2.6.0.

Signed-off-by: Ken Barber <ken@bob.sh>
2013-02-26 14:32:25 +00:00
Ken Barber
10992e115d Merge branch 'replication_support'
* replication_support:
  Add documentation for replication flag for postgresql::role
  Add support for the REPLICATION flag when creating roles
2013-02-25 18:47:23 +00:00
Ken Barber
e74360c805 Add documentation for replication flag for postgresql::role
Signed-off-by: Ken Barber <ken@bob.sh>
2013-02-25 18:46:31 +00:00
Jordi Boggiano
49ecb872fa Add support for the REPLICATION flag when creating roles 2013-02-25 19:11:28 +01:00
Chris Price
8df74b92da Merge pull request #137 from kbarber/maint/master/create_sudoers_for_centos5
Create dependent directory for sudoers so tests work on Centos 5
2013-02-25 10:02:02 -08:00
Chris Price
673e47ee94 Merge pull request #138 from kbarber/ticket/master/128-provide_more_custom_parameters_for_custom_packaging
Ticket/master/128 provide more custom parameters for custom packaging
2013-02-25 10:01:17 -08:00
Ken Barber
501289394a Cleaned up and added unit tests
Signed-off-by: Ken Barber <ken@bob.sh>
2013-02-25 17:50:53 +00:00
Karel Brezina
5ef164b1a6 Generalization to provide more flexibility in postgresql configuration 2013-02-25 17:50:34 +00:00
Ken Barber
abc63627d5 Create dependent directory for sudoers so tests work on Centos 5
Signed-off-by: Ken Barber <ken@bob.sh>
2013-02-25 16:51:20 +00:00
Ken Barber
cd31c71cb4 Merge pull request #134 from cv/patch-1
Allow SQL commands to be run against a specific DB
2013-02-24 15:46:15 -08:00
Carlos Villela
6f6da927d1 Allow SQL commands to be run against a specific DB
If resource[:db] is set, then it is sent to psql. 

Otherwise, argument is omitted and should not introduce any regression.
2013-02-24 02:50:26 -03:00
Ken Barber
92023f1afb Merge pull request #133 from razorsedge/feature/support2.6
Restore support for Puppet 2.6.
2013-02-23 16:25:24 -08:00
Michael Arnold
0db0849054 Drop trailing comma to support Puppet 2.6. 2013-02-23 16:09:26 -07:00
Chris Price
74463409f5 Merge pull request #132 from kbarber/ticket/master/release_211
Change Modulefile and Changelog for Release 2.1.1
2013-02-22 09:35:19 -08:00
Ken Barber
8770bf461e Change Modulefile and Changelog for Release 2.1.1
Signed-off-by: Ken Barber <ken@bob.sh>
2013-02-22 12:14:41 +00:00
Chris Price
ca41523630 Merge pull request #131 from kbarber/ticket/master/130-unsupported_include_directive_postgres_81
Ticket/master/130 unsupported include directive postgres 81
2013-02-21 13:28:48 -08:00
Ken Barber
0a76406e23 (GH-130) Amend system tests for Centos 5
Skip tests that don't apply to Centos 5, and make sure the parent directory
for tablespace correction has the correct SELinux settings for tablespace
management.

Signed-off-by: Ken Barber <ken@bob.sh>
2013-02-21 21:23:56 +00:00
Ken Barber
4d70c188e8 (GH-130) Fix 'include' parameter for Postgresql 8.1
This removes the 'include' parameter for PostgreSQL 8.1 as it was failing on
Centos 5.

Also added Centos 5 system tests using our new Vagrant boxes.

Signed-off-by: Ken Barber <ken@bob.sh>
2013-02-21 19:17:04 +00:00
Ken Barber
0e6a396a66 Merge branch 'maint/other_minor_fixed_for_210'
* maint/other_minor_fixed_for_210:
  Correct permission requirement for concat
2013-02-20 14:09:23 +00:00
Ken Barber
74bb35716d Correct permission requirement for concat
Signed-off-by: Ken Barber <ken@bob.sh>
2013-02-20 14:09:08 +00:00