Add puppetdb::ssl using puppetlabs/java_ks
Add initial rspec-system tests and scaffolding

This adds a basic test to run the standard 1 node setup until it succeeds.

This also fixes a bug with the connection validation facilities. Before this
patch we would keep retrying the connection to PuppetDB until the timeout
expired, this patch fixes that bug making provisioning faster and well, more
reliable. I've also increased the timeout as some systems take longer than
15 seconds for PuppetDB to start.

Signed-off-by: Ken Barber <ken@bob.sh>
Update gemfile to use version 1.x of rspec-system-puppet

Signed-off-by: Ken Barber <ken@bob.sh>
Increase default report-ttl to 14d
Simplify puppetdb::ssl to use password_file in java_ks
Simplify params for puppetdb::ssl
Separate DB instance and DB user creation
Release 1.3.0

Update Changelog and Modulefile, ready for release 1.3.0.

Signed-off-by: Ken Barber <ken@bob.sh>
Change stdlib dependency to >= 1.0.0

Previously this was >= 3.2.0, which probably isn't necessary just for
validate_re, plus at the time of writing this it was causing a problem
with the forge.

Signed-off-by: Ken Barber <ken@bob.sh>
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.