Commit graph

904 commits

Author SHA1 Message Date
Bryan Jen
f09ebab714 Release 4.4.0 prep 2015-06-22 09:10:09 -07:00
Bryan Jen
928779b34a Merge pull request #644 from mhaskel/loosen_apt_dependency
Update dependencies
2015-06-16 16:21:55 -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
Morgan Haskel
f9e5d3632a Tighten the concat dependency
Since concat 2.0.x releases have been removed
2015-06-12 14:59:49 -07:00
Morgan Haskel
e3bcfcd4be 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-06-12 14:40:23 -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
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
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
Morgan Haskel
41f7a7f30d sync via modulesync 2015-05-06 14:10:32 -07:00
Morgan Haskel
7ab5be8854 Merge pull request #618 from tphoney/apt_fix
Apt fix
2015-05-06 10:00:00 -07:00
tphoney
900b0858c3 pin apt for unit tests
Revert "fixing the unit test."

This reverts commit b8fa36a233.
2015-05-06 17:47:16 +01:00
Hunter Haugen
df2886ecbe Merge pull request #616 from roman-mueller/newtype_deprecation
(MODULES-2007) Fix Puppet.newtype deprecation warning
2015-05-04 15:16:30 -07:00
Roman Mueller
460623e3a1 (MODULES-2007) Fix Puppet.newtype deprecation warning 2015-05-05 00:04:43 +02:00
tphoney
b8fa36a233 fixing the unit test. 2015-04-18 22:04:50 +01:00
Morgan Haskel
903e070c67 Merge pull request #612 from bmjen/fix-unit-tests
update fixtures file with new concat dependencies
2015-04-17 13:36:42 -07:00
Bryan Jen
b04d7acca5 update fixtures file with new concat dependencies 2015-04-17 13:35:01 -07:00
Bryan Jen
89a781fe39 Merge pull request #608 from mhaskel/MODULES-1923
MODULES-1923 - Use the correct command with Puppet < 3.4
2015-04-13 12:02:00 -07:00
Bryan Jen
eb75ec2e36 Merge pull request #609 from hunner/antaflos-patch-2
Antaflos patch 2
2015-04-10 16:08:19 -07:00
Hunter Haugen
c0da35cb00 Add acceptance test 2015-04-10 14:28:18 -07:00
Morgan Haskel
9723b7d040 MODULES-1923 - Use the correct command with Puppet < 3.4 2015-04-09 14:29:36 -07:00
JT (Jonny)
8dbf982b62 Merge pull request #410 from ccin2p3/validate_cmd
Add param for specifying validate connection script in postgresql::client.
2015-03-31 16:55:05 +01:00
JT (Jonny)
7e0547fbe5 Merge pull request #602 from buzzdeee/master
Reorder environment and require parameter, to unbreak
2015-03-31 16:45:13 +01:00
JT (Jonny)
40061ba1a4 Merge pull request #603 from dacrome/ticket/1761-provide_recovery_conf
(MODULES-1761) Provide defined resource for managing recovery.conf
2015-03-31 16:30:44 +01:00
Morgan Haskel
c8d12ae655 Merge pull request #605 from puppetlabs/4.3.x
Merge 4.3.x back to master
2015-03-30 16:37:05 -04:00
David Crome
81b4778b93 (MODULES-1761) Provide defined resource for managing recovery.conf
Currently there is no resource to use for creating the recovery.conf

This resource can create a recovery.conf for replication with all
currently supported parameters
2015-03-30 10:27:55 +02:00
Sebastian Reitenbach
d4713efce1 Reorder environment and require parameter, to unbreak
on OpenBSD puppet 3.7.4, with future parser, and ruby 2.1.5.

Without the change, ran into error:

Info: Loading facts
    Info: Loading facts
    Error: Could not retrieve catalog from remote server: Error 400 on SERVER: I
nvalid parameter environment on Postgresql_psql[CREATE ROLE puppetdb ENCRYPTED P
ASSWORD ****] at /etc/puppet/environments/production/modules/postgresql/manifest
s/server/role.pp:46 on node puppetdb.srv.intern
    Warning: Not using cache on failed catalog
    Error: Could not retrieve catalog; skipping run

I guess the future parser requires adhering to the order?
2015-03-29 13:43:26 +02:00
Morgan Haskel
b0769bf267 Merge pull request #599 from raphink/dev/metadata
Fix URLs in metadata.json
2015-03-26 23:17:16 -04:00
Justin Stoller
be0f8bcdd8 Merge pull request #596 from anodelman/master
(BKR-147) add Gemfile setting for BEAKER_VERSION for puppet...
2015-03-26 16:48:32 -07:00
Raphaël Pinson
fcb75baeb8 Fix URLs in metadata.json 2015-03-26 10:34:12 +01:00
Lauren
9ca4b42450 Merge pull request #598 from hunner/update_readme
Update readme with types docs
2015-03-25 08:28:41 -07:00
Hunter Haugen
7b711f4905 Update readme with types docs 2015-03-25 08:19:09 -07:00
Morgan Haskel
3e20a165cd Merge pull request #597 from hunner/update_changelog
Update changelog for merge of #591
2015-03-24 18:24:24 -04:00
Hunter Haugen
8973259973 Update changelog for merge of #591 2015-03-24 15:22:39 -07:00
Alice Nodelman
ec6967efda (BKR-147) add Gemfile setting for BEAKER_VERSION for puppet...
puppetdb, etc

- support for BEAKER_VERSION and BEAKER_RSPEC_VERSION in gemfile
2015-03-24 14:57:37 -07:00
Hunter Haugen
f5f87f9347 Merge pull request #591 from exptom/patch-1
Update apt key to full 40characters
2015-03-24 14:18:37 -07:00
Morgan Haskel
f657021796 Merge pull request #595 from hunner/release_4.3.0
Supported Release 4.3.0
2015-03-24 17:17:12 -04:00
Hunter Haugen
1a83f57ec8 Supported Release 4.3.0
Summary
This release fixes compatibility with Puppet 4 and removes opportunities for local users to view the postgresql password. It also adds a new custom resource to aid in managing replication.

Features
- Add `postgresql::server::logdir` parameter to manage the logdir
- Add `environment` parameter to `postgresql_psql`
- Add `postgresql_replication_slot` custom resource

Bugfixes
- Fix for Puppet 4
- Don't print postgresql\_psql password in command
- Allow `postgresql::validate_db_connection` for more than one host+port+database combo
- Fix service command on Debian 8 and up
- Fix `postgresql::server::extension` to work with custom user/group/port
- Fix `postgresql::server::initdb` to work with custom user/group/port
- Fix changing template1 encoding
- Fix default `postgresql::server::grant::object_name` value
- Fix idempotency of granting all tables in schema with `puppet::server::grant`
- Fix lint warnings
2015-03-24 13:42:04 -07:00
Morgan Haskel
f3a17066d1 Merge pull request #593 from cmurphy/rspec-puppet-2
Testing updates
2015-03-24 15:58:01 -04:00
Colleen Murphy
5ff3378daa Update .travis.yml
This commit makes the following changes to the test matrix:

- Runs tests on ruby 2.1.5 instead of 2.0.0
- Runs tests on ruby 1.8.7 with puppet 3.x
- Adds an environment to run on an intermediate 3.x puppet version
  instead of latest (specifically 3.4.x)
- Adds an environment to run with the future parser on latest puppet.
  This would affect the test runs for the validate and spec checks.
- Stop testing with strict variables
- Runs the tests on docker
2015-03-23 22:11:47 -07:00