Commit graph

78 commits

Author SHA1 Message Date
Wyatt Alt
a40c56f591 Update README.md
remove unused master_host variable in example.
2016-07-20 14:44:55 -07:00
Jason Azze
f9ab009010 replace invalid node name variables in 3-node example 2016-07-20 16:18:35 -04:00
Andrew Roetker
867e9fe22e (PDB-2696) Remove the dependency cycle cause by typo
This commit removes the dependency cycle caused by a typo in the config
name for config.ini and properly threads through the vardir setting to
the puppetdb::server::global class.
2016-05-13 14:26:40 -07:00
Mark McKinstry
ec93e5171b open_ssl_listen_port defaults to undef, not true
changed in commit 448f8bc996
2016-03-21 15:26:00 -04:00
Andrew Roetker
07053b7901 (maint) Prep module for v5.1.2 release
This commit adds release notes and some README cleanups for a v5.1.2
release of the module for the CentOS terminus upgrade fix.
2016-03-14 13:44:31 -07:00
Russell Mull
c0da8ec29e Update README.md 2016-01-20 15:29:32 -08:00
Ken Barber
ed371ce829 Merge pull request #215 from michaelweiser/qr2
Restrict access to the Puppet master by default
2015-10-15 15:16:16 +01:00
Ken Barber
eea0a30872 Merge pull request #213 from ajroetker/maint/cleanup_markdown_in_README
(maint) This commit tidy's up the examples and markdown in the README
2015-10-15 15:05:55 +01:00
Michael Weiser
3889cc56a4 Add option to restrict access to PuppetDB
Add the option to set up a certificate whitelist file and configure it
in PuppetDB so that only specific hosts (i.e. the Puppet master(s)) have
access.
2015-10-15 09:33:52 +02:00
Michael Weiser
fea383feb1 Add option to disable cleartext HTTP port 2015-10-14 22:32:51 +02:00
Andrew Roetker
e350f73592 (maint) This commit tidy's up the examples and markdown in the README 2015-10-10 02:44:39 -07: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