İşleme Grafiği

30 commits

Yazar SHA1 Mesaj Tarih
Andrew Roetker
8a92361a7e (PDB-2660) Restart Puppet master after enabling reporting 2016-06-21 13:11:33 -07:00
Andrew Roetker
16e50d74eb (maint) Pin rake gem version for ruby 1.8.7 2016-03-11 15:17:15 -08:00
Andrew Roetker
4985c82f1c (maint) Handle terminus to termini package upgrades
This commit adds an exec to allow users to upgrade to termini-3.x via
the module with no extra manual steps.
2016-03-11 12:09:53 -08:00
Holt Wilkins
74ea94bc5c Un-embedding selectors from class declarations 2016-02-08 13:47:20 +11: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
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
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
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
Matthias Baur
9d607f55f3 Fix some Puppet Lint errors
Fix wrong indention
2014-09-15 21:08:34 +01:00
Mickaël Canévet
1d631e2ef4 Add strict_variables support when puppetdb is not on puppetmaster 2014-04-08 15:08:23 +02:00
Elliott Barrere 
51a08a85b4 Fix issue with validator when disable_ssl = true
https://github.com/puppetlabs/puppetlabs-puppetdb/issues/106
2013-12-11 14:34:52 -08: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
Garrett Honeycutt
70c73c78ba Add params to support soft_write_failure option as per Ken Barber
I can rebase these commits once the code is debugged and to your
liking.
2013-10-18 12:00:14 -04:00
Erik Dalén
02d0c48438 Style guideline fixes 2013-06-04 14:19:53 +02: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
148bddbf30 Add support for enabling puppetdb report processor 2013-05-23 14:54:49 -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
fhrbek
5f5a00f3a1 Support for remote puppetdb 2013-04-12 15:03:54 +02:00
Chris Price
b119a30af5 Update manifests/master/config.pp
This just incorporates some whitespace / compatibility issues that @hunner noticed in the last pull request.
2012-10-17 09:33:29 -07:00
Chris Price
783b595fc7 Make puppetdb startup timeout configurable
In some environments, puppetdb can take longer than 10 seconds
to start up.  Prior to this commit, that value was hard coded
and the module would sometimes fail when it wouldn't have failed
with a slightly larger timeout.  This commit makes the timeout
configurable, and also increases the default value to 15 seconds.
2012-10-16 17:42:02 -07:00
Chris Price
b5df5d9197 Update comments and docs w/rt PE params
This is just a small add-on to Hunter's commits where he added
extra parameters to support PE.  This commit just cleans up
some of my old comments that were made irrelevant or inaccurate
due to the work that he did, and adds a bit of documentation to
the new test manifest that he created.
2012-10-01 10:46:33 -07:00
Hunter Haugen
df6f7cc345 Add parameters to enable usage of enterprise versions of PuppetDB 2012-09-28 11:03:19 -07:00
Chris Price
179b337571 Add a parameter for restarting puppet master
Prior to this commit, the module always attempted
to restart the puppet master service whenever it
managed the master config files.  This commit
disables that behavior since our acceptance nodes
don't have the service installed.
2012-09-23 10:05:00 -07:00
Garrett Honeycutt
1aab5d98b0 complies with style guide 2012-09-20 14:46:26 -07:00
Chris Price
ce3d4be317 Restart the puppet master service when necessary
Prior to this commit, users needed to be aware that the puppet
master service would need a restart if certain config files
were changed (routes.yaml, puppetdb.conf).  This commit
adds a notification that will trigger a service restart if
those files are modified.
2012-09-18 17:21:42 -07:00
Chris Price
aef363a8bb Add support for specifying the version of the puppetdb packages
Prior to this commit, all of the puppetdb packages were being
installed with 'ensure=present'.  This commit changes things
so that you can explicitly specify a version if you desire;
the default is still 'present'.
2012-09-18 15:52:10 -07:00
Chris Price
8fbda3c4d6 Use ini_file to manage settings, and add validation
This commit does the following:

* Use the new inifile module to manage puppet.conf
* More comprehensive management of config files
* Validate database connectivity before applying puppetdb
  config changes
* Validate puppetdb connectivity before applying puppet
  master config changes
* Documentation
2012-09-17 15:26:32 -07:00