Commit graph

327 commits

Author SHA1 Message Date
Matthias Baur
9ddef32eac Fixed typo 2014-07-11 11:18:11 +02:00
Matthias Baur
eac026c658 Allow to set the manage_server parameter in the init class 2014-07-11 11:14:40 +02:00
Ken Barber
cbcf042f54 Merge pull request #127 from dalen/flexible_routes
Allow more flexible routes configuration
2014-07-01 11:50:00 +01:00
Ken Barber
c706255bc0 Merge pull request #130 from stefanandres/jetty_max_threads
implement max_threads option for jetty
2014-07-01 11:49:06 +01:00
Ken Barber
b80b921348 Merge pull request #125 from rickerc/bugs/1298605
Ensure db and db users created before validation
2014-07-01 11:48:21 +01:00
Stefan Andres
00838d8fb3 remove default assumption in README 2014-07-01 12:44:40 +02:00
Stefan Andres
3061b90127 implement max_threads option for jetty 2014-06-26 17:15:34 +02:00
Ken Barber
19935e65da Merge pull request #129 from mcanevet/feature/enable_strict_variables
Auto enable strict_variables for unit tests when puppet > 3.5
2014-06-19 11:14:34 -07:00
Mickaël Canévet
ebac7adda7 Auto enable strict_variables for unit tests when puppet > 3.5 2014-06-19 11:51:00 +02:00
Ken Barber
456caebc31 Merge pull request #121 from jantman/conditional_db
Parameter to not manage postgresql server
2014-06-17 09:39:00 -07:00
Erik Dalén
32decebb04 Allow more flexible routes configuration 2014-05-14 14:10:58 +02:00
Ken Barber
23849e4be8 Merge pull request #126 from mcanevet/fix/strict_variables
Add strict_variables support when puppetdb is not on puppetmaster
2014-04-10 14:40:11 +01:00
Mickaël Canévet
51fcc18aa8 Fix strict_variables issue 2014-04-10 15:37:20 +02:00
Mickaël Canévet
0c0464d2d3 Add STRICT_VARIABLES support in travis with puppet > 3.5 2014-04-08 16:24:19 +02:00
Mickaël Canévet
e97f9e38d1 Add unit tests for puppetdb::master::config 2014-04-08 16:23:58 +02:00
Mickaël Canévet
1d631e2ef4 Add strict_variables support when puppetdb is not on puppetmaster 2014-04-08 15:08:23 +02:00
Chris Ricker
209f0c6476 Ensure db and db users created before validation
Ensure that for PostgreSQL backends, the database validation functions
are not run until the initial database creation and user role creation
has been completed.

Closes-Bug: #1298605
2014-04-02 08:44:25 -07:00
Ken Barber
5ad2a6d8b2 Merge pull request #123 from kbarber/maint/master/fix_is_pe
Fix is_pe declaration so it works without is_pe
2014-03-05 08:03:48 -08:00
Ken Barber
1bbce1830e Test against string 'true' not boolean
Because facter likes to convert booleans to strings

Signed-off-by: Ken Barber <ken@bob.sh>
2014-03-02 10:42:49 -08:00
Ken Barber
c049fba8e2 Fix is_pe declaration so it works without is_pe
Signed-off-by: Ken Barber <ken@bob.sh>
2014-02-27 17:03:21 +00:00
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