Matthias Viehweger
bed601256b
Rename tablespace_spec.pp to tablespace_spec.rb
2013-06-12 15:40:24 +03:00
Matthias Viehweger
14fbf9f0fe
Rename role_spec.pp to role_spec.rb
2013-06-12 15:40:07 +03:00
Chris Price
d896be3ba0
Merge pull request #191 from cprice-puppet/maint/master/release-2.3.0
...
Update Modulefile and Changelog for 2.3.0 release
2013-06-06 16:26:27 -07:00
Chris Price
77da524671
Merge pull request #190 from cprice-puppet/maint/master/docs-for-database-owner
...
Update docs to reflect new `owner` parameter for `::database` type.
2013-06-06 15:20:36 -07:00
Chris Price
5c26c3e3f2
Update Modulefile and Changelog for 2.3.0 release
2013-06-06 15:05:04 -07:00
Chris Price
e764c20289
Update docs to reflect new owner
parameter for ::database
type.
2013-06-06 14:50:15 -07:00
Chris Price
dcac94a70d
Merge pull request #156 from harbulot/issue_114
...
Setting the owner of the database with createdb.
2013-06-06 14:45:07 -07:00
Chris Price
5bc584ef26
Merge pull request #188 from cprice-puppet/bug/master/fix-hard-coded-postgres-user-in-hba
...
Don't hard-code postgres user's username for pg_hba
2013-06-06 14:43:02 -07:00
Chris Price
4e668dd69e
Merge pull request #189 from kbarber/feature/master/support-more-distroz
...
Add more distributions
2013-06-06 13:57:28 -07:00
Chris Price
8502de54a7
Don't hard-code postgres user's username for pg_hba
2013-06-06 12:55:43 -07:00
Ken Barber
f6fb18a5b3
Fix up and add some tests for unknown OS patch
...
This patch just adds some new tests for the unknown OS patch, and cleans up
some existing tests to look for the new warning message.
Also, change the warning message for $osfamily and manage_package_repo to
reflect the parameter at fault.
Signed-off-by: Ken Barber <ken@bob.sh>
2013-06-06 20:53:36 +01:00
Chris Price
6bd2befa98
Add support for other operating systems besides Redhat/Debian
...
Prior to this commit, if you attempted to use the module to
manage postgres on any OS other than Redhat/Debian, there
was an explicit check for that, and a call to `fail`.
In reality, the OS family is only used to build up defaults
for various path and package names, which are all exposed
as parameters. If the user is willing to explicitly pass
in all of those parameters, there's no reason we should
fail based on OS family.
This commit adds checks to the 'default' osfamily case
such that we now only fail if they're on a non-Redhat-or-Debian
system *and* they haven't explicitly passed in values for
all of the required parameters.
2013-06-06 12:23:30 -07:00
Chris Price
ee8643221b
Merge pull request #186 from kbarber/rspec-system-conversion
...
Convert system tests to use rspec-system
2013-06-06 10:00:07 -07:00
Ken Barber
80c85e8f2b
Convert system tests to use rspec-system
...
This patch ports all of the existing system tests to use rspec-system instead.
To assist with this conversion some patches were made to fix OS compatibility
where necessary. We also added an ensure parameter to the postgresql::server
class to assist with removing PostgreSQL configuration to aid with testing
cleanups.
The documentation has been updated to indicate test usage with rspec-system,
we've also renamed the 'tests' directory to 'examples'.
Signed-off-by: Ken Barber <ken@bob.sh>
2013-06-04 15:36:24 +01:00
Ken Barber
6113f6ef19
Merge pull request #184 from MaxMartin/master
...
Correct README
2013-05-15 12:05:17 -07:00
Max Martin
976be1305b
Correct database_user param name
...
README formerly incorrectly referred to the password_hash parameter as password.
2013-05-15 12:58:39 -06:00
Ken Barber
e5c1dbcd91
Merge pull request #179 from cprice-puppet/maint/master/fix-readme-for-running-system-testswq
...
Fix example command in README for running system tests on a distro
2013-05-07 07:56:49 -07:00
Chris Price
a7cd5d96ed
Add a few more docs about running system tests
2013-05-06 10:50:03 -07:00
Chris Price
d7cce420d9
Fix example command in README for running system tests on a distro
2013-05-06 10:41:08 -07:00
Chris Price
5dd462157b
Merge pull request #176 from kbarber/release_221
...
Release 2.2.1 + Changelog
2013-04-29 11:59:35 -07:00
Ken Barber
760afe5397
Release 2.2.1 + Changelog
...
Signed-off-by: Ken Barber <ken@bob.sh>
2013-04-29 19:56:30 +01:00
Ken Barber
7a11366631
Merge pull request #151 from antaflos/psql_cwd
...
Set /tmp as default CWD for postgresql_psql
2013-04-29 11:52:29 -07:00
Chris Price
f1c87046be
Merge pull request #175 from kbarber/release_220
...
Release 2.2.0
2013-04-26 09:24:49 -07:00
Ken Barber
cd3b7a83a4
Release 2.2.0
...
Signed-off-by: Ken Barber <ken@bob.sh>
2013-04-26 17:21:37 +01:00
Chris Price
6a96d3cd28
Merge pull request #174 from kbarber/up_stdlib_dependency
...
Increase stdlib dependency to include 5.x
2013-04-26 09:02:24 -07:00
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