Commit graph

1043 commits

Author SHA1 Message Date
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
Hunter Haugen
b76ca612cb Merge pull request #391 from geoffgarside/freebsd
Fix FreeBSD support
2014-03-20 15:08:32 -07:00
Geoff Garside
688b0aa3fc Replace psql_db => $user with $default_database.
On FreeBSD systems the $user variable is not 'postgres' so does not
match the default database correctly. These changes use the existing
default_database parameter to replace instances where $user is passed as
the database to be connected to.

These changes are in server::database, server::role and
server::grant.
2014-03-10 09:26:28 +00:00
Geoff Garside
3896baeabb Change validate_postgresql_connection.sh exec PATH
FreeBSD needs /usr/local/bin in PATH in order to find bash. This does
require that the node has the bash port installed. It might be desired
that a separate script was provided for FreeBSD which used its /bin/sh,
this could be done by changing the for loop in the script to use

    for c in $(jot $TRIES)

in place of

    for (( c=1; c<=$TRIES; c++ ))
2014-03-10 09:20:36 +00:00
Geoff Garside
8f89ffaf06 Update FreeBSD $confdir to defer to $datadir
This matches the behaviour of most of the other operating systems
configurations.
2014-03-10 09:19:52 +00:00
Geoff Garside
3225a889e6 Move params::{user,group} to be set under osfamily
Allows for OS specific $user and $group value specification. For most of
the target operating systems these will both be 'postgres'. For FreeBSD
however these values are 'pgsql'.
2014-03-10 09:17:10 +00:00
Ashley Penney
400a82d7e0 Merge pull request #388 from hunner/remove_autorelease
Remove autorelease
2014-03-05 12:18:21 -05:00
Hunter Haugen
17eff2f7db Remove autorelease 2014-03-05 09:11:11 -08:00
Hunter Haugen
8e29ed3b16 Merge pull request #386 from apenney/333-release
Prepare 3.3.3 supported release.
2014-03-04 08:44:06 -08:00
Ashley Penney
d7a890b4a9 Prepare 3.3.3 supported release. 2014-03-04 16:40:55 +00:00
Hunter Haugen
fc729b434b Merge pull request #385 from apenney/fix-symlinks
Replace the symlink with the actual file to resolve a PMT issue.
2014-03-04 08:26:42 -08:00
Ashley Penney
0aba3228d2 Replace the symlink with the actual file to resolve a PMT issue. 2014-03-04 16:17:33 +00:00
Ashley Penney
04b366a3f7 Merge pull request #384 from hunner/fix_metadata
Patch metadata
2014-03-03 17:03:26 -05:00
Hunter Haugen
b79ea115c6 Patch metadata 2014-03-03 13:49:04 -08:00
Hunter Haugen
22139f7461 Merge pull request #383 from laurenrother/3.3.x
Add install instructions for supported module version
2014-03-03 12:43:09 -08:00
Lauren Rother
fabcb78e3c Add install instructions for supported module version
Adds a section to Setup for PE 3.2 users wanting to use the supported vs. shipped version of this module.
2014-03-03 12:36:07 -08:00
Ashley Penney
1d325a8b19 Merge pull request #382 from hunner/release_3.3.2
Supported Release 3.3.2
2014-03-03 14:55:27 -05:00
Hunter Haugen
7dfa304e97 Supported Release 3.3.2
Summary
This is a supported release. It fixes a problem with updating passwords
on postgresql.org distributed versions of PostgreSQL.

Bugfixes
- Correct psql path when setting password on custom versions.
- Documentation updates
- Test updates

Known Bugs
* SLES is not supported.
2014-03-03 11:35:23 -08:00
Hunter Haugen
a7006ea254 Merge pull request #381 from apenney/metadata
Prepare metadata for supported modules release.
2014-03-03 10:50:02 -08:00
Ashley Penney
856a46d2a9 Prepare metadata for supported modules release. 2014-03-03 17:45:18 +00:00
Ashley Penney
83cbbfe60c Merge pull request #380 from laurenrother/3.3.x
Adds "Release Notes/Known Bugs" to Changelog, updates file format to markdown, standardizes the format of previous entries
2014-03-03 11:50:48 -05:00
Lauren Rother
46e455075d Adds "Release Notes/Known Bugs" to Changelog, updates file format to markdown, standardizes the format of previous entries
Per a request to have initial release notes that specifically listed known issues for this PE 3.2 release, and barred by time constraints from automating a pull from open issues in JIRA, this commit adds a Release Note and Known Bug section to the Changelog for the imminent 3.2 release. As it will display on the Forge, updates file type to markdown and standardizes previous entries. Adds template for release notes to be filled in later.
2014-03-02 12:13:07 -08:00
Hunter Haugen
61255f1cc7 Correct spec helper commands 2014-02-28 21:09:55 -08:00
Hunter Haugen
6a8cd01ea0 Merge pull request #379 from apenney/fix-locale
Use the correct encoding.
2014-02-28 17:53:29 -08:00
Ashley Penney
d259acc410 Use the correct encoding. 2014-03-01 01:51:09 +00:00
Hunter Haugen
f1e19554fd Merge pull request #375 from hunner/fix_lucid
Add class apt for manage_package_repo => true
2014-02-28 17:41:34 -08:00
Hunter Haugen
ea537281d7 Add class apt for manage_package_repo => true 2014-02-28 17:41:00 -08:00