Commit graph

333 commits

Author SHA1 Message Date
Ewoud Kohl van Wijngaarden
1c6081082e Remove unused parameters 2015-01-06 19:03:42 +01:00
Ken Barber
c07e54110f Merge pull request #159 from wkalt/maint/master/pin-beaker-for-1.8.7
(maint) don't use beaker for unit testing
2015-01-05 15:57:43 +00:00
wkalt
8f0bdc2a9a (maint) pin beaker for ruby 1.8.7
Travis is failing on 1.8.7 due to some recent updates in rails. This should fix
the issue.
2015-01-05 07:49:10 -08:00
Tim Meusel
4031dc7883 add missing param manage_firewall
the param manage_firewall was added in an earlier release to puppetdb::server. The class isn't called directly but via the init.pp. the puppetdb class had already the param manage_firewall but this wasn't forwarded to puppetdb::server
2015-01-05 11:16:32 +01:00
Erik Dalén
1c6f37a4ee Restart the service if certificates change 2014-12-18 17:04:56 +01:00
Ken Barber
e56eb99146 Merge pull request #156 from ajroetker/maint_prune_old_pe_code
(maint) Prune dead PE code
2014-12-09 13:17:51 +00:00
Andrew Roetker
36148124b6 (maint) Prune dead PE code
This commit removes some dead PE code that is no longer used to make
params a little cleaner.
2014-12-05 14:05:50 -08:00
Ken Barber
5fb9e8e8c6 Merge pull request #155 from sathieu/patch-1
Show scheme (http/https) in puppetdb connection errors
2014-12-03 12:48:49 +00:00
Mathieu Parent
63fecabf96 Show scheme (http/https) in puppetdb connection errors 2014-12-03 11:45:04 +01:00
Ken Barber
da4e0ee918 Merge branch 'fix-ssl-protocols'
* fix-ssl-protocols:
  Add ssl_protocol param to puppetdb & puppetdb::server classes
2014-11-28 18:16:10 +00:00
Tim Meusel
c3cdd86d55 Add ssl_protocol param to puppetdb & puppetdb::server classes
puppetdb::server calls puppetdb::server:jetty_ini,
jetty_ini is able to set ssl_protocols, but this param isn't
present in the puppetdb::server class nor in the puppetdb class
2014-11-28 18:15:16 +00:00
Wyatt Alt
1c718132e4 Merge pull request #154 from jbondpdx/master
FM-1523: Added module summary to metadata.json
2014-11-20 16:14:00 -08:00
jbondpdx
e257cbf45d FM-1523: Added module summary to metadata.json 2014-11-20 15:45:28 -08:00
Ryan Senior
5d5d54fc94 Merge pull request #152 from kbarber/ticket/master/pdb-1025-release-410
(PDB-1025) Release 4.1.0
2014-11-13 09:59:53 -06:00
Ken Barber
5e1584baf9 (PDB-1025) Release 4.1.0
This patch updates the changelog for 4.1.0 (and for 4.0.0 which we missed) and
preps the module for a 4.1.0 release.

Signed-off-by: Ken Barber <ken@bob.sh>
2014-11-13 15:52:22 +00:00
Wyatt Alt
bf6f6bde57 Merge pull request #151 from kbarber/maint/master/fix-hsqldb-store-path
(maint) Correct path for hsqldb storage
2014-11-12 11:27:18 -08:00
Ken Barber
fd6c2a2a60 (maint) Correct path for hsqldb storage
For some reasons we switched this to use /usr/share/puppetdb/db, which has a
softlink to /var/lib/puppetdb/db. This is not aligned with the PuppetDB core
nor is it following FHS.

Signed-off-by: Ken Barber <ken@bob.sh>
2014-11-06 14:15:06 +00:00
Ken Barber
2c3c389017 Merge pull request #150 from ghoneycutt/poodle_CVE-2014-3566
Allow only TLS - Fixes POODLE CVE-2014-3566
2014-10-30 11:35:38 +00:00
Garrett Honeycutt
af10eedfc6 Add ability to specify SSL protocols.
This is in response to CVE-2014-3566 - POODLE
2014-10-29 19:29:15 -04:00
Ken Barber
90fd571ce5 Merge pull request #149 from stefanandres/fix-unneeded-unicode
Remove invisible unicode character to prevent "invalid byte sequence in ...
2014-10-16 17:42:38 +01:00
Stefan Andres
ed5e57ca89 Remove invisible unicode character to prevent "invalid byte sequence in US-ASCII" 2014-10-16 13:36:23 +02:00
Ken Barber
531df208dd Merge branch 'validator_ssl'
* validator_ssl:
  Fix use_ssl behaviour for the validator and new puppetdb_disable_ssl parameter
2014-10-08 12:58:27 +01:00
Philip Wigg
6d58b2286e Fix use_ssl behaviour for the validator and new puppetdb_disable_ssl parameter
Previously the defined check wasn't working as expected, this patches fixes
this by relying on the check for the `puppetdb` class instead.

Tests have been added, and the README has been updated to include the new
puppetdb_disable_ssl parameter for the `puppetdb::master::config` class.
2014-10-08 12:56:46 +01:00
Wyatt Alt
ff3e459a1a Merge pull request #148 from kbarber/maint/master/cleanups-and-some-improvements
Cleanups, missing doc items and new test_url capability
2014-10-07 09:48:33 -07:00
Ken Barber
f6f6e55b33 Cleanups, missing doc items and new test_url capability
This provides a number of cleanups as the code has been unloved for a while.

I've added the ssl-* parameters the robinbowes added in his last patch to the
docs, and found some other cleanups as well where applicable.

I've added the ability to override the test_url also, so that in the future
if a user wishes to they can customize this.

Signed-off-by: Ken Barber <ken@bob.sh>
2014-10-07 15:06:54 +01:00
Ken Barber
8cad042fb9 Merge branch 'feature/add_ssl_cert_settings'
* feature/add_ssl_cert_settings:
  Add the ability to a) deploy ssl keys, b) set paths to ssl keys in jetty.ini
2014-10-07 15:05:26 +01:00
Robin Bowes
8c68fc1dd2 Add the ability to a) deploy ssl keys, b) set paths to ssl keys in jetty.ini
This also adds parameters for puppetdb user/group to support PE correctly.
2014-10-07 15:04:37 +01:00
Ken Barber
422d40083f Merge pull request #146 from seanmil/fix_pe_detect
Fix detection of a PE-based PuppetDB
2014-10-04 13:27:36 +01:00
Sean Millichamp
e4d26bdd85 Fix defined() call to correctly test is_pe
defined('$::is_pe') will never evaluate to true, even if
the is_pe fact is defined. defined('$is_pe') will return the
correct results.
2014-10-03 16:49:25 -04:00
Sean Millichamp
b2e123180a Add spec test showing is_pe detection failure
Add a new spec test providing some initial coverage of
puppetdb::server demontrating the failure to correctly
detect a PE environment.
2014-10-03 16:48:07 -04:00
Ken Barber
5637d92591 Merge pull request #144 from ghoneycutt/patch-2
Update README.md
2014-09-25 09:13:29 +01:00
Ken Barber
32d965d557 Merge pull request #145 from ghoneycutt/patch-3
Update jetty_ini.pp
2014-09-25 09:13:20 +01:00
Garrett Honeycutt
95812ed192 Update jetty_ini.pp 2014-09-24 17:43:40 -04:00
Garrett Honeycutt
25df72e252 Update README.md
fix typo
2014-09-24 17:40:07 -04:00
Ken Barber
1671d56e64 Merge pull request #143 from senior/ticket/master/pdb-871
4.0.0 release commit
2014-09-16 17:25:49 +01:00
Ryan Senior
f5d7479572 4.0.0 release commit 2014-09-16 10:37:26 -05:00
Ken Barber
f1ad8d0a30 Merge pull request #142 from kbarber/ticket/master/pdb-871-4-0-0-release
Ticket/master/pdb 871 4 0 0 release
2014-09-16 16:34:03 +01:00
Ken Barber
65752f7736 (PDB-871) Typo in README.md
Signed-off-by: Ken Barber <ken@bob.sh>
2014-09-16 15:59:55 +01:00
Ryan Senior
4894c2038f (PDB-871) Prepare for 4.0.0 release
Bumped versions of dependencies, removed support for older
version (since this is a major release boundry)
2014-09-16 15:59:43 +01:00
Ken Barber
1a4851faec Merge branch 'fix_puppet_lint_errors'
* fix_puppet_lint_errors:
  Use str2bool for backwards compatibility, and avoid changing puppetdb_service_status
  Fix some Puppet Lint errors
2014-09-15 22:59:59 +01:00
Ken Barber
8ce1856222 Use str2bool for backwards compatibility, and avoid changing puppetdb_service_status
is_pe being a fact, its smarter her to coerce the value of it too a boolean, in
case we still receive the value as a string. In the future structured facts
will become the norm.

I've also removed the patch against the values for puppetdb_service_status, matching
against a bareword boolean while it looks good, if the value is indeed a boolean the
in will fail in the current parser. This can be brought up again in the future.

Signed-off-by: Ken Barber <ken@bob.sh>
2014-09-15 22:59:38 +01:00
Matthias Baur
9d607f55f3 Fix some Puppet Lint errors
Fix wrong indention
2014-09-15 21:08:34 +01:00
Hunter Haugen
ed6579b6ea Merge pull request #139 from cyberious/master
Remove puppet_module_install in favor of copy_module_to
2014-09-10 11:47:46 -07:00
Travis Fields
40c76e3eae Remove puppet_module_install in favor of copy_module_to 2014-09-10 11:46:06 -07:00
Ken Barber
2c00c65061 Merge pull request #136 from buzzdeee/openbsd
OpenBSD support
2014-09-05 19:02:24 +01:00
Wyatt Alt
9c35c3d2dd Merge pull request #135 from buzzdeee/manage_firewall
do not manage firewall for postgres, puppetlabs/postgres module from
2014-09-03 09:44:02 -07:00
Sebastian Reitenbach
f08fe90642 OpenBSD support 2014-08-31 22:41:39 +02:00
Sebastian Reitenbach
5ed5839d48 do not manage firewall for postgres, puppetlabs/postgres module from
git has dropped that silly firewall management support.

do not document removed manage_firewall parameter anymore
2014-08-31 22:36:11 +02:00
Ken Barber
ba3049796f Merge pull request #133 from ghoneycutt/patch-1
Use EL instead of RHEL
2014-08-07 15:08:44 +01:00
Ken Barber
3f49930c8c Merge pull request #134 from tdevelioglu/master
Fixed read-database parameters in class puppetdb
2014-08-07 15:08:31 +01:00