Commit graph

55 commits

Author SHA1 Message Date
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
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
Erik Dalén
8a30c5a11d Separate DB instance and DB user creation 2013-05-07 18:28:23 +02:00
Karel Brezina
7a1557a79f Added support for Java VM options 2013-04-12 15:24:52 +02:00
fhrbek
5f5a00f3a1 Support for remote puppetdb 2013-04-12 15:03:54 +02:00
Christian Berg
41ce745cc3 Document new option disable_ssl in README. 2013-04-10 18:20:28 +03:00
Ken Barber
04d5bf1b56 Merge pull request #35 from nicklewis/add-ttl-settings
Add params and ini_settings for node/report/purge ttls
2013-04-04 05:22:02 -07:00
Ken Barber
8df379a21d Prepare for Release 1.1.5
Updated CHANGELOG and Modulefile. Added proper ignores for packaging and
removed duplicate release notes from README.md.

Signed-off-by: Ken Barber <ken@bob.sh>
2013-03-10 23:29:30 -07:00
Nick Lewis
735f18fba9 Document which versions of PuppetDB the ttl settings work in 2013-02-27 16:44:40 -08:00
Nick Lewis
76fa9018b0 Document ttl settings in README 2013-02-06 16:08:07 -08:00
Nick Lewis
9efe80b95a Add params and ini_settings for node/report/purge ttls 2013-02-06 15:25:20 -08:00
Ken Barber
d5705a9937 Minor cleanups on top of README.md template change
* Remove .DS_Store from commit as we don't want mac directory metadata files
committed to the repository.
* Removed now irrelevant README_GETTING_STARTED.md as that content is now
merged and thus duplicated in README.md.
* Whitespace cleanups in README.md: trailing spaces, made soft wraps the
standard.
* Replaced instances of 'include' with the 'class' format.
* Fixed Release Notes to reflect the notes from the Forge

Signed-off-by: Ken Barber <ken@bob.sh>
2013-01-29 15:54:16 +00:00
Lauren Rother
70d9d4d900 Modify README.md to confirm to new template
* updates README's formatting to confirm to new PL module standard
* Created TOC linking to major headings in README to enhance readability,
enable a user to find what they need quickly, and to act as a document
guide.
2013-01-29 15:53:49 +00:00
Chris Price
f21740b699 Pass 'manage_redhat_firewall' param through to postgres
Prior to this commit, if you allowed the puppetdb module
to manage postgres for you, it would always try to manage
the firewall for the postgres port on redhat systems.

This commit exposes that as a parameter in a few more
spots, and passes it through to the postgres module.
2012-09-21 10:47:19 -07:00