Commit graph

7 commits

Author SHA1 Message Date
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
332ec352f9 (maint) Add file_concat and fix rspec warnings
This fixes the file_concat dependency issue postgresql module has brought in,
plus removes some deprecation warnings from our rspec tests.

I've also bumped rspec-puppet as well, while I was at it.

Signed-off-by: Ken Barber <ken@bob.sh>
2015-04-21 14:35:56 +01:00
Mathieu Parent
63fecabf96 Show scheme (http/https) in puppetdb connection errors 2014-12-03 11:45:04 +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
Ken Barber
1c831ebe5e Fix up unit tests after /v2 changes
Signed-off-by: Ken Barber <ken@bob.sh>
2014-02-11 20:56:48 +00:00
Dan Bode
cfffea0a79 Allow puppetdb conn validation when ssl is disabled
for my use case, I am not able to validate the
ssl endpoint b/c I am creating my puppet certificates
during my puppet run, so they are not available to
the http get request.

This patch adds a new resource parameter to
the puppetdb_conn_validator that allows it
to make a non-ssl connection. This allows me
to declare my own http only resource that I
can use to verify the puppetdb connection.
2013-06-06 17:38:27 -07:00
fhrbek
5f5a00f3a1 Support for remote puppetdb 2013-04-12 15:03:54 +02:00