Commit graph

138 commits

Author SHA1 Message Date
Ken Barber
f0baf9e373 Merge pull request #79 from aboe76/master
add archlinux support
2013-08-19 16:08:21 -07:00
Niels Abspoel
96e12396a6 add archlinux support 2013-08-19 22:25:12 +02:00
Chris Price
dd57e38c48 Merge pull request #78 from nicklewis/optional-password
Make database_password an optional parameter
2013-08-12 16:25:43 -07:00
Nick Lewis
2f12a5d7c0 Make database_password an optional parameter
In some cases it may not be possible to securely specify a password for
PuppetDB. When that is true, it's impossible to use the module to manage
PuppetDB, because specifying undef for the password will cause database
validation to fail, or for the setting in database.ini to be overridden.

This change will simply check that database_password is set, and will
skip validation and changing database.ini in the case where it is not.
2013-08-12 14:53:02 -07:00
Chris Price
45a745fed7 Merge pull request #77 from kbarber/release_160
Release 1.6.0
2013-08-09 08:02:23 -07: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
1bfb3517a9 Release 1.6.0
Updates CHANGELOG and the Modulefile for the next release.

Signed-off-by: Ken Barber <ken@bob.sh>
2013-08-07 23:11:30 +01:00
Chris Price
5d57d40a21 Merge pull request #76 from kbarber/missing_config_params
Add missing parameters for 1.4.0 release
2013-08-07 14:49:39 -07: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
Chris Price
45f9de11d6 Update CHANGELOG and Modulefile for 1.5.0 release 2013-07-18 13:46:01 -07:00
Ken Barber
cffb9179b2 Merge pull request #71 from cprice404/feature/master/add-suse-support
Minor tweaks to make the module support SUSE
2013-07-11 09:03:53 -07:00
Chris Price
4602da1e4a Minor tweaks to make the module support SUSE 2013-07-09 13:15:29 -07:00
Chris Price
ce494eac6b Merge pull request #70 from kbarber/fix_stdlib_dependency
Fix dependency for stdlib for 'downcase'
2013-07-03 07:00:56 -07:00
Ken Barber
5bd3177e3e Fix dependency for stdlib for 'downcase'
Downcase has been added to puppetlabs/puppetdb, this patch changes the
dependency for stdlib to >= 2.2.0 as that was when downcase was first
included.

Signed-off-by: Ken Barber <ken@bob.sh>
2013-06-20 13:12:18 +01:00
Ken Barber
2d3a6114c3 Merge pull request #68 from bodepd/allow_http_conn_validation
Allow puppetdb conn validation when ssl is disabled
2013-06-07 04:36:06 -07: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
Ken Barber
7e056f1c4c Merge pull request #66 from dalen/stylefixes
Style guideline fixes
2013-06-04 05:58:14 -07: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
8383020937 Bump inifile module dependency version once more 2013-05-28 15:27:05 -07:00
Chris Price
805b7f1423 Update inifile dependency to latest version 2013-05-28 14:35:48 -07:00
Chris Price
9f2583aec3 Update Modulefile / CHANGELOG for 1.4.0 release 2013-05-24 13:01:18 -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
Chris Price
148bddbf30 Add support for enabling puppetdb report processor 2013-05-23 14:54:49 -07:00
Ken Barber
a56e28a024 Merge pull request #61 from dalen/separate_db_class
Separate DB instance and DB user creation
2013-05-22 08:27:07 -07:00
Ken Barber
38e0d5bf47 Merge pull request #63 from cprice-puppet/bug/master/use-fqdn-instead-of-clientcert
Use fqdn for ssl listen address instead of clientcert
2013-05-22 08:25:23 -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
Ken Barber
652429c8f1 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>
2013-05-20 16:46:52 +01:00
Chris Price
95ea8f0d79 Merge pull request #62 from kbarber/release_130
Release 1.3.0
2013-05-17 08:04:45 -07:00
Ken Barber
447e62167a Release 1.3.0
Update Changelog and Modulefile, ready for release 1.3.0.

Signed-off-by: Ken Barber <ken@bob.sh>
2013-05-17 16:00:51 +01:00
Erik Dalén
8a30c5a11d Separate DB instance and DB user creation 2013-05-07 18:28:23 +02:00
Ken Barber
d3b4bfe0e4 Merge pull request #60 from cprice-puppet/maint/master/update-default-report-ttl-to-14d
Increase default report-ttl to 14d
2013-05-02 15:53:16 -07:00
Chris Price
7c2caf6a20 Increase default report-ttl to 14d 2013-05-02 15:00:00 -07:00
Chris Price
797310d884 Merge pull request #54 from kbarber/rspec-system_initial_tests
Add initial rspec-system tests and scaffolding
2013-05-01 07:48:35 -07:00
Ken Barber
c5ef3833fa Update gemfile to use version 1.x of rspec-system-puppet
Signed-off-by: Ken Barber <ken@bob.sh>
2013-05-01 15:32:20 +01:00
Ken Barber
15fb00c9f7 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>
2013-04-19 23:26:15 +01:00
Ken Barber
acf9e707d3 Merge pull request #37 from kbrezina/better_configuration
Added support for Java VM options
2013-04-12 06:33:04 -07:00
Karel Brezina
7a1557a79f Added support for Java VM options 2013-04-12 15:24:52 +02:00
Ken Barber
fc5cdd4a0f Merge pull request #41 from fhrbek/conn_validator_refactoring
Support for remote puppetdb
2013-04-12 06:18:57 -07:00
fhrbek
5f5a00f3a1 Support for remote puppetdb 2013-04-12 15:03:54 +02:00
Ken Barber
340d8908f9 Merge pull request #52 from christianberg/feature/master/option_to_disable_ssl
Add option to disable SSL in Jetty
2013-04-10 08:31:10 -07:00
Christian Berg
41ce745cc3 Document new option disable_ssl in README. 2013-04-10 18:20:28 +03:00
Christian Berg
74ea87bf34 Merge branch 'master' into feature/master/option_to_disable_ssl 2013-04-10 16:27:56 +02:00
Ken Barber
8a28a02be4 Merge pull request #53 from christianberg/feature/master/jetty_ini_tests
Add tests for puppetdb::server::jetty_ini
2013-04-10 05:35:13 -07:00
Christian Berg
4f2ae293c5 Ruby 1.8.7 doesn't like a comma after the last hash entry. 2013-04-10 00:55:44 +02:00
Christian Berg
1a8d7c6601 Ruby 1.8.7 doesn't like a comma after the last hash entry. 2013-04-10 00:51:58 +02:00
Christian Berg
5f32741c83 Add unit tests for disabling SSL in puppetdb::server::jetty_ini 2013-04-10 00:31:43 +02:00
Christian Berg
a560214f8f Merge branch 'feature/master/jetty_ini_tests' into feature/master/option_to_disable_ssl 2013-04-10 00:25:33 +02:00
Christian Berg
d14e179d86 Add tests for puppetdb::server::jetty_ini 2013-04-10 00:18:31 +02:00
Christian Berg
f10f4a97fb Remove trailing whitespace 2013-04-09 23:40:48 +02:00