Commit graph

364 commits

Author SHA1 Message Date
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
Dominic Cleal
eb66b99b72 Add unit suffix to TTL settings to avoid issue #20099 2013-04-07 10:56:01 +01:00
Nick Lewis
994e226743 Merge pull request #44 from kbarber/ticket/master/release
Prepare for release 1.2.0
2013-04-05 10:22:31 -07:00
Ken Barber
c51037a5fc Prepare for release 1.2.0
Signed-off-by: Ken Barber <ken@bob.sh>
2013-04-05 12:13:05 +01:00
Ken Barber
04d5bf1b56 Merge pull request #35 from nicklewis/add-ttl-settings
Add params and ini_settings for node/report/purge ttls
2013-04-04 05:22:02 -07:00
Nick Lewis
305776f8a3 Merge pull request #39 from kbarber/ticket/master/release_115
Prepare for Release 1.1.5
2013-03-11 00:39:24 -07:00
Ken Barber
8df379a21d Prepare for Release 1.1.5
Updated CHANGELOG and Modulefile. Added proper ignores for packaging and
removed duplicate release notes from README.md.

Signed-off-by: Ken Barber <ken@bob.sh>
2013-03-10 23:29:30 -07:00
Nick Lewis
735f18fba9 Document which versions of PuppetDB the ttl settings work in 2013-02-27 16:44:40 -08:00
Chris Price
4f2e902c00 Merge pull request #36 from kbrezina/better_configuration
Configuration improvements
2013-02-13 09:07:38 -08:00
Karel Brezina
1d83efbcec Database name, user name and password can be set to arbitrary values. 2013-02-13 12:14:53 +01:00
Nick Lewis
76fa9018b0 Document ttl settings in README 2013-02-06 16:08:07 -08:00
Nick Lewis
9efe80b95a Add params and ini_settings for node/report/purge ttls 2013-02-06 15:25:20 -08:00
Lauren Rother
9d4357de7f Merge branch 'ticket/master/new_readme'
* ticket/master/new_readme:
  Minor cleanups on top of README.md template change
  Modify README.md to confirm to new template
2013-01-29 15:55:16 +00:00
Ken Barber
d5705a9937 Minor cleanups on top of README.md template change
* Remove .DS_Store from commit as we don't want mac directory metadata files
committed to the repository.
* Removed now irrelevant README_GETTING_STARTED.md as that content is now
merged and thus duplicated in README.md.
* Whitespace cleanups in README.md: trailing spaces, made soft wraps the
standard.
* Replaced instances of 'include' with the 'class' format.
* Fixed Release Notes to reflect the notes from the Forge

Signed-off-by: Ken Barber <ken@bob.sh>
2013-01-29 15:54:16 +00:00