Commit graph

68 commits

Author SHA1 Message Date
Michael Weiser
fea383feb1 Add option to disable cleartext HTTP port 2015-10-14 22:32:51 +02:00
Wyatt Alt
4a1f3245d0 (PDB-1430) overwritable java_args
this creates a new config setting, merge_default_java_args, that users may set
to false to override the default java_args.
2015-09-21 15:27:23 -07:00
Russell Mull
28d23d5a9e (PDB-1415) Add jdbc_ssl_properties parameter 2015-09-01 14:27:51 -07:00
Andrew Roetker
f41b5258dd (PDB-1620) Fix example README typo (e7->el7) 2015-07-08 13:59:57 -07:00
Andrew Roetker
8eb9f67669 (PDB-1657) Manage Postgres repos by default
This commit moves to managing the Postgres repos by default. The
reason for this is so that the `puppetdb` class will "just work" by
default on most systems, because PostgreSQL 9.4 is not installed on 6/7
of the distros we support we need to manage the repos so we can install
the latest version.
2015-06-24 16:01:42 -07:00
Andrew Roetker
b95fc919b7 (maint) Add pathing for AIO, defaulting to non-AIO for older PDBs
This commit adds a globals class to PuppetDB which allows us to change
the param defaults for the module depending on what version of PuppetDB
they are using (similar to the PostgreSQL module).
This commit also changes the default PuppetDB 3.x configuration pathing
to assume AIO Puppet.
2015-06-24 14:55:09 +01:00
Andrew Roetker
2a70b8d33b (maint) Use smarter defaults when managing test_url
This commit updates the handling of the `test_url` parameter to be
smarter, using the PuppetDB `2.x` default for PuppetDB `2.x` and using
the `3.x` default for PuppetDB `3.x`.
2015-06-17 14:09:32 -07:00
Andrew Roetker
8e4c803f58 (maint) Add ability to manage old terminus style
This commit adds the ability to manage to legacy style of terminus for
`PuppetDB 2.x`.
2015-06-16 10:44:15 -07:00
Ken Barber
6cb77ff799 Merge branch 'stable'
* stable:
  (maint) Ignore ruby specific files when packaging module
  Release 4.3.0 of module
  (PDB-1455) Provide mechanism for modifying default HSQLDB path
2015-06-11 08:57:52 +01:00
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
Ken Barber
37f21d6c73 Merge pull request #181 from ajroetker/ticket/pdb-1485/master/add_pdb_root_context_for_query_api
(PDB-1035) Add default PuppetDB root context
2015-06-04 15:57:33 +01:00
Andrew Roetker
829626f6cb (PDB-1485) Add default PuppetDB root context
This commit changes the terminus configuration to use the new root
prefix for PuppetDB and changes the connection validator to do the same.

This commit also adds the terminus package name changes `terminus` to
`termini` and tries to be smart about the default, checking to see what
version of PuppetDB was passed in and defaulting off of that value.
2015-06-03 11:20:09 -07:00
Ken Barber
919d568518 (docs) Fix docs for ssl_listen_address
ssl_listen_address default has changed, this updates the line in the docs to reflect that.
2015-06-02 14:44:47 +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
Ken Barber
b482ad8efa Merge pull request #163 from enovance/allow_masterless_configuration
Allow puppetdb to be configure for masterless conf
2015-02-05 11:37:11 +00:00
Yanis Guenane
a826d85735 Allow puppetdb to be configure for masterless conf
Currently the module only allows PuppetDB to be configured in a
agent/master setup configuration, by configuring the master section of
the puppet.conf and applying on the routes for such a configuration.
This commit allows one to use this module to configure the main section of
the puppet.conf and applying the proper routes so the module can configure
nodes to use PuppetDB in a masterless setup.

Doc about puppet.conf configure in masterless way available here
https://docs.puppetlabs.com/puppetdb/2.2/connect_puppet_apply.html#manage-puppetconf
2015-02-05 06:31:54 -05:00
Tim Meusel
767fe5c25a update README.md 2015-01-28 16:32:31 +01:00
Robin Bowes
1a5a4efef5 Make database validation optional 2015-01-12 16:37:21 +00:00
Ken Barber
cb71baa1e9 Merge pull request #160 from bastelfreak/fix-manage-firewall
add missing param manage_firewall
2015-01-07 13:49:03 +00: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
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
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
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
Garrett Honeycutt
25df72e252 Update README.md
fix typo
2014-09-24 17:40:07 -04: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
2c00c65061 Merge pull request #136 from buzzdeee/openbsd
OpenBSD support
2014-09-05 19:02:24 +01: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
Garrett Honeycutt
bd5423569f Use EL instead of RHEL
To be more inclusive of variants like CentOS
2014-08-05 16:16:44 -04:00
Taylan Develioglu
9a3055281b Mention puppetdb version in read-database parameters. 2014-08-04 14:02:40 +02:00
Taylan Develioglu
27840d6959 Add read-database support 2014-08-04 13:54:38 +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
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
Erik Dalén
32decebb04 Allow more flexible routes configuration 2014-05-14 14:10:58 +02: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
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
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
Stefan Dietrich
c7ef4079ec Document new database_ssl option in README 2013-10-19 19:56:46 +02:00
Ken Barber
39e8f6c919 Merge pull request #89 from ghoneycutt/soft_write_failure
Add soft_write_failure to puppetdb.conf
2013-10-18 09:29:44 -07:00
Garrett Honeycutt
77c74e7421 Document puppetdb_soft_write_failure in README 2013-10-18 12:03:28 -04:00
Ken Barber
3affb17ee3 Release 2.0.0
This modifies the CHANGELOG for the 2.0.0 release, and adds an upgrading
section to warn users about the `inifile` change during the upgrade.

Signed-off-by: Ken Barber <ken@bob.sh>
2013-10-07 23:00:26 +01:00
Akos Hencz
0868426c32 Added puppetdb service control 2013-09-02 11:30:31 +02:00
Niels Abspoel
96e12396a6 add archlinux support 2013-08-19 22:25:12 +02:00
Ken Barber
020a22da7b Provide the PuppetDB version that the new parameters apply for
This documents each of the newer parameters: gc_interval, log_slow_statements,
conn_max_age, conn_keep_alive, conn_lifetime with the version of PuppetDB that
are supported on.

Signed-off-by: Ken Barber <ken@bob.sh>
2013-08-07 23:22:55 +01:00
Ken Barber
9c41392312 Add missing parameters for 1.4.0 release
This patch adds all the missing parameters now defined in the 1.4.0 release.

This includes some new database parameters mainly, but also adds gc_interval
to the `puppetdb` and `puppetdb::server` classes, as previously this wasn't
configurable using this method.

To avoid documentation duplication the Puppet headers have been removed in
favour of documenting classes from the README.md. Until such times as the
forge can turn Puppet docs into HTML automatically, this is just duplicate
noise and prone to update slippage. The README.md is more authoritative in
this area and is pubicly displayed on the forge project page so it should be
used for now.

Signed-off-by: Ken Barber <ken@bob.sh>
2013-08-07 15:32:19 +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