Commit graph

307 commits

Author SHA1 Message Date
Ken Barber
cdc40c6f7f Merge pull request #122 from reidmv/use_is_pe
Use $is_pe for PE determination
2014-02-25 18:59:29 +00:00
Reid Vandewiele
0372b22b28 Bump version requirement for puppetlabs/stdlib
The is_pe fact was first defined in stdlib in 3.1.0. We want to use that
fact for making the "PE or Not PE" determination in params, so we need
to require a stdlib at least that new. Note that at the time of commit
the current version of stdlib is 4.1.0, so we're not exactly requiring
bleeding edge.
2014-02-25 09:35:12 -08:00
Reid Vandewiele
ee38594c44 Use $is_pe for PE determination
...rather than the custom logic that was used previously. Using a
uniform canon fact across all modules that need to differentiate between
PE and POSS makes unusual situations (such as having a missing
/opt/puppet/pe_version file) more, well, uniform.
2014-02-25 08:56:59 -08:00
Jason Antman
02fca863bc fix module description in NOTICE 2014-02-20 15:36:49 -05:00
Jason Antman
6f13811cbd remove duplicated documentation of puppetdb::database::postgresql manage_firewall parameter 2014-02-20 15:35:56 -05:00
Jason Antman
2ae8754efe conditionally do not manage the postgres server itself, so users can separately declare postgresql::server and pass whatever options they want. 2014-02-20 15:35:16 -05:00
Ken Barber
1c94d83dce Merge pull request #119 from nibalizer/option_disable_firewall
Adding option to disable management of the firewall
2014-02-18 21:48:55 +00:00
Spencer Krum
9e4e88ecf1 Adding option to disable management of the firewall
Some users will manage the firewall externally from this module.
2014-02-14 18:34:48 +00:00
Ken Barber
f3524cabf2 Merge pull request #118 from hunner/dynamic_gemsource
Allow custom gemsource
2014-02-12 00:43:24 +00:00
Hunter Haugen
cac6e553d1 Allow custom gemsource 2014-02-11 16:42:29 -08:00
Ryan Senior
414934a8ef Merge pull request #117 from kbarber/maint/master/release_301
Release 3.0.1
2014-02-11 16:16:25 -06:00
Ken Barber
2171f2cf6a Release 3.0.1
Includes CHANGELOG changes and release bump.

Signed-off-by: Ken Barber <ken@bob.sh>
2014-02-11 22:09:25 +00:00
Ryan Senior
a45c1ad8b5 Merge pull request #116 from kbarber/maint/master/use-v3-api-for-testing
Use the /v2 metrics endpoint instead of /metrics
2014-02-11 15:07:15 -06:00
Ken Barber
1c831ebe5e Fix up unit tests after /v2 changes
Signed-off-by: Ken Barber <ken@bob.sh>
2014-02-11 20:56:48 +00:00
Ken Barber
c4f71cc8c3 Use the /v2 metrics endpoint instead of /metrics
The base url /metrics has long been a deprecated URL and creates noise when
tested like this. Not to mention in current puppetdb master we are removing
/v1 support so this test starts to break.

By making it /v2, we still afford support for most of our 1.x users, and
since /v2 will be around for quite some time this seems like a suitable
temporary step.

In the future a generic URL should really be provided by PuppetDB as something
that is more permanent and generic.

Signed-off-by: Ken Barber <ken@bob.sh>
2014-02-11 20:35:13 +00:00
Ashley Penney
ba3eab6f95 Merge pull request #114 from apenney/beaker
Convert tests to beaker.
2014-02-03 08:43:36 -08:00
Ashley Penney
a344bfe83a Convert tests to beaker. 2014-02-03 16:43:01 +00:00
Hunter Haugen
625b836880 Merge pull request #113 from ghoneycutt/enable_travis_fast_finish
Enable fast finish in Travis
2014-01-23 11:10:11 -08:00
Garrett Honeycutt
09da4ace22 Enable fast finish in Travis
http://blog.travis-ci.com/2013-11-27-fast-finishing-builds/
2014-01-23 14:08:37 -05:00
Ken Barber
6d5f329e2a Merge pull request #112 from adrianlzt/feature/allow_define_postgres_listen_address
Define parameter in puppetdb class to define postgres listen address
2014-01-13 06:07:22 -08:00
Adrian Lopez
b86270b0f3 Define parameter in puppetdb class to define postgres listen address 2014-01-12 22:57:18 +01:00
Ken Barber
10ea45f7a4 Merge pull request #107 from ebarrere/ebFix_puppetdb_conn_validator
Fix puppetlabs#106 and one other bug when disable_ssl = true
2014-01-10 10:32:26 -08:00
Ryan Senior
2c92b6097f Merge pull request #110 from kbarber/rspec_puppet_v1
Support rspec-puppet v1.0.0
2014-01-02 08:36:54 -08:00
Ken Barber
9d85e06c9d Pin rspec-puppet to 1.x releases
Since contain_class is only in 1.x or greater, we add an explicit pin in the
Gemfile for this.

Signed-off-by: Ken Barber <ken@bob.sh>
2014-01-02 15:43:22 +00:00
Garrett Honeycutt
02a9cf0da4 Support rspec-puppet v1.0.0
include_class has been replaced with contain_class.
http://bombasticmonkey.com/2013/12/05/rspec-puppet-1.0.0/
2013-12-27 17:34:14 -05:00
Elliott Barrere 
05cf44b937 Enable soft_write_failure setting when $puppetdb::disablessl = true
The puppet agent will refuse to run if it can’t make a secure
connection to the puppetdb server.  This setting disables that in case
SSL is disabled.
2013-12-11 14:36:32 -08:00
Elliott Barrere 
51a08a85b4 Fix issue with validator when disable_ssl = true
https://github.com/puppetlabs/puppetlabs-puppetdb/issues/106
2013-12-11 14:34:52 -08:00
Ken Barber
6b47c83477 Merge pull request #101 from jhoblitt/concat_update
Concat update
2013-11-04 05:04:30 -08:00
Joshua Hoblitt
9714cb16b8 update ripienaar/concat -> puppetlabs/concat 2013-11-02 07:53:23 -07:00
Ken Barber
21e31b9a67 Merge pull request #100 from ScottDuckworth/master
fix validation regular expressions
2013-10-29 09:43:22 -07:00
Scott Duckworth
d25044f6c7 fix validation regular expressions 2013-10-29 12:15:35 -04:00
Ashley Penney
426af2b656 Merge pull request #97 from apenney/travis
Add missing PUBLISHER_LOGIN variable.
2013-10-28 09:58:45 -07:00
Ashley Penney
cf0e7fb14c Add missing PUBLISHER_LOGIN variable. 2013-10-28 12:57:55 -04:00
Ryan Senior
c0f33d8041 Merge pull request #95 from kbarber/maint/master/release_300
Release 3.0.0
2013-10-28 09:29:02 -07:00
Ashley Penney
69e9bcd749 Merge pull request #96 from apenney/travis
Add auto-publishing.
2013-10-28 09:23:25 -07:00
Ashley Penney
b8c2265889 Add auto-publishing. 2013-10-28 12:18:58 -04:00
Ken Barber
923e35d6c0 Release 3.0.0
This updates the CHANGELOG and module metadata files for a new major release.

Signed-off-by: Ken Barber <ken@bob.sh>
2013-10-28 16:13:32 +00:00
Ashley Penney
97dd235ba3 Merge pull request #94 from kbarber/ticket/master/GH-93-use-postgresql-3
(GH-93) Switch to using puppetlabs-postgresql 3.x
2013-10-28 09:05:05 -07:00
Ken Barber
684b24c668 Make sure the correct ntp packages are installed
Signed-off-by: Ken Barber <ken@bob.sh>
2013-10-27 13:56:45 +01:00
Ken Barber
3c71c5f8cf Update test fixtures and module dependencies to use postgresql 3.1.0
Signed-off-by: Ken Barber <ken@bob.sh>
2013-10-27 01:33:29 +02:00
Ken Barber
78a2530e03 Ensure ntpdate executes early
This is to avoid any time slew problems related to ntp shifting the time
later on in the background.

Signed-off-by: Ken Barber <ken@bob.sh>
2013-10-27 00:11:02 +01:00
Ken Barber
c29fb59a68 Adjust memory for PuppetDB tests to avoid OOM killer
The tests were failing on Ubuntu, and I noticed that the OOM killer
was killing java. This patch increases the memory size for each
image to avoid this.

Signed-off-by: Ken Barber <ken@bob.sh>
2013-10-27 00:52:18 +02:00
Ken Barber
683bda3e3e Fix idempotency tests
Signed-off-by: Ken Barber <ken@bob.sh>
2013-10-22 13:22:05 +01:00
Ken Barber
cce5324642 Simplify puppet module install parts for testing
Signed-off-by: Ken Barber <ken@bob.sh>
2013-10-22 12:54:08 +01:00
Ken Barber
69fa8ec662 Fix copyright and project notice
Signed-off-by: Ken Barber <ken@bob.sh>
2013-10-21 19:15:38 +01:00
Ken Barber
603df7381d (GH-93) Switch to using puppetlabs-postgresql 3.x
This updates the module to be able to use puppetlabs-postgresql.

Since this change is a major change, it marks this patch as a breaking change.

I have prepared a suitable amount of upgrade notes for upgrading to this later
version of the module plus removed anything marked deprecated.

As cleanup, I've removed the troublesome 'tests' directory in favour of good
README.md documentation. I've also removed any puppet docs from each module
until such times as puppet docs become automated through the forge. This is
just to avoid contributors having to double their efforts - the README.md
is the authority now.

Signed-off-by: Ken Barber <ken@bob.sh>
2013-10-21 18:43:41 +01:00
Ryan Senior
3ceca19f30 Merge pull request #92 from kbarber/ticket/master/GH-91-rspec-system-2
(GH-91) Update to use rspec-system-puppet 2.x
2013-10-21 06:52:01 -07:00
Ken Barber
d3bf0a09ae (GH-91) Update to use rspec-system-puppet 2.x
This will bring us up-to-date with the latest version of the rspec-system-*
family.

Signed-off-by: Ken Barber <ken@bob.sh>
2013-10-21 14:25:28 +01:00
Ken Barber
c09ac02f95 Merge pull request #80 from stdietrich/add_ssl_switch
Add switch to configure database SSL connection
2013-10-19 14:08:59 -07:00
Stefan Dietrich
c7ef4079ec Document new database_ssl option in README 2013-10-19 19:56:46 +02:00