Commit graph

18 commits

Author SHA1 Message Date
Ken Barber
1b661fdf5b (PDB-1455) Provide mechanism for modifying default HSQLDB path
This provides an override mechanism for providing a custom path to HSQLDB.

This allows users to provide any path to their HSQLDB database. It is needed
specifically for managing the as-yet-unreleased version of PuppetDB as well.

Signed-off-by: Ken Barber <ken@bob.sh>
2015-06-10 19:04:20 +01:00
Sebastian Reitenbach
72e1924b11 Enable the module to manage entries in $confdir/config.ini, in the
command-processing section.

Added new class server/config_ini.pp to manage contents of the config.ini.
Three new parameters added:
  * command_threads
  * store_usage
  * temp_usage

All three default to 'undef'. This makes sure (potential) custom settings
done to that file with regard to above three variables are 'absent',
and let PuppetDB built-in defaults take care.

Documentation to the README.md added, as well as unit tests.

My use-case was, that I have on some nodes a too small /var partition,
so I had to lower the values of store-usage and temp-usage in the config.ini
manually.
2015-04-22 06:19:35 +02: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
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
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
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
Stefan Andres
3061b90127 implement max_threads option for jetty 2014-06-26 17:15:34 +02:00
Mickaël Canévet
51fcc18aa8 Fix strict_variables issue 2014-04-10 15:37:20 +02:00
Mickaël Canévet
e97f9e38d1 Add unit tests for puppetdb::master::config 2014-04-08 16:23:58 +02: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
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
Ken Barber
b45fca9689 Merge pull request #64 from cprice-puppet/feature/master/support-enabling-report-processor
Add support for enabling puppetdb report processor
2013-05-28 16:15:08 -07:00
Chris Price
68f2889651 Update README, add rspec-puppet tests
Add docs to readme, add basic rspec-puppet tests for new
report_processor class, and fix broken rspec-system test.
2013-05-24 12:48:34 -07:00
Chris Price
b79214066a Use fqdn for ssl listen address instead of clientcert
Chris Barker reported that the default value of `$::clientcert`
was not the best choice for some things we were using it for
in the module; specifically, for the default value of
the jetty ssl listen address.  He suggested using `$::fqdn` instead.

This commit makes that change; rspec-system tests pass, but I'm
not 100% sure that there aren't edge cases that would be
affected by this.
2013-05-21 16:35:42 -07:00
Christian Berg
1a8d7c6601 Ruby 1.8.7 doesn't like a comma after the last hash entry. 2013-04-10 00:51:58 +02:00
Christian Berg
5f32741c83 Add unit tests for disabling SSL in puppetdb::server::jetty_ini 2013-04-10 00:31:43 +02:00
Christian Berg
d14e179d86 Add tests for puppetdb::server::jetty_ini 2013-04-10 00:18:31 +02:00
Ken Barber
5a72d6d82b Cleaned up ghoneycutt's code a tad
Signed-off-by: Ken Barber <ken@bob.sh>
2013-04-09 13:27:25 +01:00