Commit graph

327 commits

Author SHA1 Message Date
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
Christian Berg
0a9d936670 Merge branch 'master' into feature/master/option_to_disable_ssl 2013-04-09 23:38:40 +02:00
Ken Barber
468f6eaa2d Merge branch 'fsalums'
* fsalums:
  Also fix gc_interval
  the new settings report_ttl, node_ttl and node_purge_ttl were added but they are not working, this fixes it
2013-04-09 13:40:40 +01:00
Ken Barber
64aa1fec15 Also fix gc_interval
Signed-off-by: Ken Barber <ken@bob.sh>
2013-04-09 13:40:12 +01:00
fsalum
46684c4ab6 the new settings report_ttl, node_ttl and node_purge_ttl were added but they are not working, this fixes it 2013-04-09 13:38:30 +01:00
Ken Barber
3afa5f0e76 Merge branch 'ttl_checking'
* ttl_checking:
  Cleaned up ghoneycutt's code a tad
  allows for 0 _ttl's without time signifier and enables tests
2013-04-09 13:28:18 +01:00
Ken Barber
5a72d6d82b Cleaned up ghoneycutt's code a tad
Signed-off-by: Ken Barber <ken@bob.sh>
2013-04-09 13:27:25 +01:00
Christian Berg
28e23581c7 (#51) Add option to disable SSL in Jetty
This patch introduces the optional parameter $disable_ssl, which
defaults to false. If set to true, the settings ssl-host and ssl-port
are completely removed from the Jetty section of the PuppetDB config
files.

This disables serving of HTTPS requests by PuppetDB, which can be useful
when SSL handling is offloaded to a reverse proxy server like Apache or
Nginx, as suggested in the PuppetDB documentation (see
http://docs.puppetlabs.com/puppetdb/1.2/connect_puppet_apply.html#option-a-set-up-an-ssl-proxy-for-puppetdb).
2013-04-09 00:39:04 +02:00
Garrett Honeycutt
fc3f8dc747 allows for 0 _ttl's without time signifier and enables tests 2013-04-08 23:49:18 +02:00
Deepak Giridharagopal
f464452b1d Merge pull request #47 from kbarber/ticket/master/release_121
Release 1.2.1 - changlog and Modulefile
2013-04-08 09:13:56 -07:00
Ken Barber
50c77cb7ee Merge pull request #45 from domcleal/ttl-units
Add unit suffix to TTL settings to avoid issue #20099
2013-04-08 07:14:17 -07:00
Ken Barber
fd9d63ef4d Release 1.2.1 - changlog and Modulefile
Signed-off-by: Ken Barber <ken@bob.sh>
2013-04-08 11:33:39 +01:00