Commit graph

935 commits

Author SHA1 Message Date
David Schmitt
d5efb1fea3 Merge pull request #665 from bmjen/squash-620
Support granting permission on sequences.
2015-07-02 19:18:48 +01:00
qha
c9ffadd31b Support granting permission on sequences.
add spec test for sequence grant and document postgresql::server::grant.
2015-07-02 10:33:15 -07:00
Morgan Haskel
d6435e47c6 Merge pull request #625 from covermymeds/update_pg_hba_rule
(#2056) Added 9.4, corrected past versions based on docs
2015-07-02 10:23:35 -07:00
David Schmitt
3862b06433 Merge pull request #662 from bmjen/4.4.x-mergeback
4.4.x mergeback
2015-07-01 22:45:20 +01:00
David Schmitt
39b812b0be Increment version number for 4.4.1 2015-07-01 14:13:29 -07:00
Ken Barber
1d974be09f (MODULES-2181) Fix variable scope for systemd-override
$manage_package_repo wasn't in scope for the template systemd-override.erb
This was causing all RHEL7 systems with manage_package_repo on to fail on
startup using systemctl, as the proper path to the original service file
is set incorrectly.

This patch adds the manage_package_repo to the top of the ::config class,
and adds some basic tests in config_spec.rb to ensure we don't regress on
this.

Signed-off-by: Ken Barber <ken@bob.sh>
2015-07-01 14:13:29 -07:00
Bryan Jen
3e6a22d166 fixes postgresql::server:recovery acceptance tests 2015-07-01 14:13:29 -07:00
Bryan Jen
2514881d3d adds acceptance tests for postgresql::server::recovery resource 2015-07-01 14:13:29 -07:00
Bryan Jen
3c83e3a4ce updates release date on CHANGELOG 2015-07-01 14:13:29 -07:00
Bryan Jen
7a6fdf6905 re-add apt pinning to unit test on puppet 2.7 2015-07-01 14:13:29 -07:00
Bryan Jen
8cb7d7046f updates CHANGELOG with merged in commits 2015-07-01 14:13:29 -07:00
Bryan Jen
026e4a2fdb Unpins apt 1.8 dependency in fixtures.yml and spec_helper_acceptance. 2015-07-01 14:13:29 -07:00
Bryan Jen
13b447b977 Release 4.4.0 prep 2015-07-01 14:13:28 -07:00
Morgan Haskel
540623144e Loosen the apt dependency
Once puppetlabs-apt 2.1.0 is released (2015-06-16) the postgresql module
will be compatible with apt 1.x (>= 1.8.0) and 2.x (>= 2.1.0). This will
*not* work with puppetlabs-apt 2.0.x.
2015-07-01 14:13:28 -07:00
Travis Fields
d0493a28b9 Merge pull request #654 from bmjen/fix-onlyif-tests
(FM-2931) fixes logic problem with onlyif type param validation.
2015-06-29 10:25:59 -07:00
Bryan Jen
90290f6111 (FM-2931) fixes logic problem with onlyif type param validation. 2015-06-29 10:14:39 -07:00
JT (Jonny)
855718ef61 Merge pull request #651 from DavidS/install-missing-netstat
(FM-2923) install net-tools for tests
2015-06-26 15:28:30 +01:00
David Schmitt
e963cd153d (FM-2923) install net-tools for tests
serverspec's be_listening uses net-tools' netstat utility to check for
open ports. This was puleld in until recently by puppet-agent packages.
Now this has changed and we need to install this manually.
2015-06-26 14:13:48 +01:00
Morgan Haskel
b87da29090 Merge pull request #650 from cyberious/master
(maint) Fix tests from #527 merge - Looks like copy tests mismatched logic of when it should expect changes
2015-06-25 16:50:42 -07:00
Travis Fields
4596b59c01 (maint) Fix tests from #527 merge
- Looks like copy tests mismatched logic of when it should expect changes
2015-06-25 16:48:02 -07:00
Travis Fields
c4c0402bd4 Merge pull request #527 from kimor79/psql-onlyif 2015-06-25 14:04:10 -07:00
Kimo Rosenbaum
39f15c313c Add onlyif parameter to postgresql_psql to only run command if onlyif returns true
Add option to only attempt table grant if table already exists

Make this slightly more generic
2015-06-25 13:54:02 -07:00
CJ Estel
51fc426be8 Added 9.4, corrected past versions based on docs
adjusted spec to have correct values with change
2015-06-25 16:00:42 -04:00
Travis Fields
5b2c017693 Merge pull request #624 from saimonn/vivid
add ubuntu/vivid support
2015-06-25 10:55:21 -07:00
Hunter Haugen
cb57b323d6 Merge pull request #633 from b0e/master
disabling pg_hba_conf_defaults should not disable ipv4acls and ipv6ac…
2015-06-25 10:43:08 -07:00
Travis Fields
409907cda4 Merge pull request #643 from ghoneycutt/patch-3
Show support for Puppet v4 in the metadata
2015-06-25 10:12:54 -07:00
David Schmitt
4b1196b918 Merge pull request #629 from mcanevet/fix/cert
Copy snakeoil certificate and key instead of symlinking
2015-06-19 13:38:51 +01:00
Mickaël Canévet
6dbbb6ae9a Copy snakeoil certificate and key instead of symlinking
Since postgresql-9.1_9.1.16-0+deb7u1 on wheezy, postgresql can't read
snakeoil certificate as symlink anymore, so server does not restart.
This patch copies cert and key instead of symlinking so that it works
again.
2015-06-19 14:37:25 +02:00
David Schmitt
f2436fac04 Merge pull request #645 from cyberious/master
(maint) Add beaker-puppet_install_helper and fix fact bug
2015-06-19 10:59:42 +01:00
Travis Fields
2aa3217426 (maint) Add beaker-puppet_install_helper and fix fact bug
- Issue with fact() was being called against default instead of
  using fact_on when iterating against each host, also was installing 3.8.1 despite
  specifying PUPPET_VERSION=1.1.1 so updated to use beaker-puppet_install_helper
2015-06-18 15:15:30 -07:00
Garrett Honeycutt
6c36652e29 Show support for Puppet v4 in the metadata
According to the Travis-ci matrix, this module supports Puppet v4. This update to the metadata reflects that.
2015-06-16 00:27:08 -04:00
Morgan Haskel
a44daf6050 Merge pull request #641 from bmjen/concat-deps
tightens concat dependency to < 2.0.0
2015-06-15 16:59:30 -07:00
Bryan Jen
796f258b9f tightens concat dependency to < 2.0.0 2015-06-15 16:57:00 -07:00
Morgan Haskel
c4bc7b23db Merge pull request #639 from cdenneen/master
Fixed systemd override for manage_repo package versions
2015-06-15 10:42:29 -07:00
Chris Denneen
9dc891d06d Fixed systemd override for manage_repo package versions 2015-06-12 10:29:50 -04:00
TP Honey
3f6f040e1c Merge pull request #635 from puppetlabs/travisci_update
Updated travisci file to remove allow_failures on Puppet 4
2015-06-05 12:27:54 +01:00
Hunter Haugen
7a4f013658 Merge pull request #626 from domcleal/concat-2
Support puppetlabs-concat 2.x
2015-06-04 10:40:54 -07:00
Jonathan Tripathy
f0c2096a8a Updated travisci file to remove allow_failures on Puppet 4 2015-06-04 14:28:17 +01:00
Hunter Haugen
b5b9c78d76 Merge pull request #623 from dirkweinhardt/MODULES-2049
(#2049) Make title of psql resource for schema creation unique
2015-05-29 10:12:47 -07:00
TP Honey
2f39ccd484 Merge pull request #634 from DavidS/add-plpython-docs-classes
Add plpython and postgresql-docs classes
2015-05-29 11:21:30 +01:00
deVIAntCode
f9c0d91680 Add classes to install PL/Python and the postgresql-docs
See the README for usage and provided parameters.
2015-05-29 10:00:01 +01:00
Achim Ledermüller
eec3c9505a disabling pg_hba_conf_defaults should not disable ipv4acls and ipv6acls rules 2015-05-28 15:37:02 +02:00
Hunter Haugen
5dc78b7128 Add ability to unittest puppet 4 2015-05-27 08:13:45 -07:00
Dominic Cleal
acbc46a709 Revert "update fixtures file with new concat dependencies"
This reverts commit b04d7acca5.

The file_concat dependency was removed shortly after, and isn't present
in the 2.0.0 release.
2015-05-20 18:49:10 +01:00
Dominic Cleal
30415ffd90 Support puppetlabs-concat 2.x
2.0.0 is compatible with current 1.x usage, so permit either 1.x or 2.x
to satisfy the concat dependency.  The fragment `force` parameter is
deprecated, but only results in a warning.  It can be removed at a later
date when 2.x is prevalent.
2015-05-20 18:45:49 +01:00
Simon Séhier
13bf63db51 add ubuntu/vivid support 2015-05-20 17:35:39 +02:00
dirkweinhardt
d9cc161595 Made title of psql resource for schema creation unique. 2015-05-19 10:12:28 +02:00
Bryan Jen
6f44abea6b Merge pull request #619 from puppetlabs/modulesync_updates
Modulesync updates
2015-05-07 14:01:12 -07:00
Morgan Haskel
3341b73b39 beaker gemfile fixes 2015-05-06 14:32:56 -07:00
Morgan Haskel
6e9e62e9c9 sync via modulesync 2015-05-06 14:31:09 -07:00