Commit graph

207 commits

Author SHA1 Message Date
Stefan Dietrich
d6202bdda2 Disable database validation, if SSL is enabled 2013-10-19 19:56:46 +02:00
Stefan Dietrich
84c5fa79ea Add switch to configure database SSL connection
PostgreSQL supports secure connections through SSL. For PuppetDB
to connect with SSL, "?ssl=true" has to be specified on the
connection string.

This patch adds such a switch, by default PuppetDB will not use SSL
to connect to the database.
2013-10-19 19:56:46 +02:00
Ken Barber
79ef2823d4 Merge pull request #87 from apenney/metadata
FM-103: Add metadata.json to all modules.
2013-10-18 09:36:00 -07:00
Ken Barber
39e8f6c919 Merge pull request #89 from ghoneycutt/soft_write_failure
Add soft_write_failure to puppetdb.conf
2013-10-18 09:29:44 -07:00
Ashley Penney
902ab15f04 Update metadata.json
Make Puppet versions strings, and update for 2.0.
2013-10-18 12:20:52 -04:00
Garrett Honeycutt
77c74e7421 Document puppetdb_soft_write_failure in README 2013-10-18 12:03:28 -04:00
Deepak Giridharagopal
a3d884ab26 Merge pull request #90 from kbarber/maint/master/pin-system-tests-to-old-postgresql-module
This will pin the installation of puppetlabs/postgresql to version 2.5.0
2013-10-18 09:03:04 -07:00
Garrett Honeycutt
70c73c78ba Add params to support soft_write_failure option as per Ken Barber
I can rebase these commits once the code is debugged and to your
liking.
2013-10-18 12:00:14 -04:00
Ken Barber
3306f1f265 This will pin the installation of puppetlabs/postgresql to version 2.5.0
Since version 3.0.0 is now released, we want to pin against the old revision
everywhere. We already pin in the Modulefile and unit tests, we just forgot
to do it for the rspec-system tests.

Signed-off-by: Ken Barber <ken@bob.sh>
2013-10-18 16:40:21 +01:00
Ryan Senior
d7b43c207d Merge pull request #85 from kbarber/ticket/master/release-20
Release 2.0.0
2013-10-18 07:35:25 -07:00
Garrett Honeycutt
d440f1b3ea Add soft_write_failure to puppetdb.conf
This supports a recently added feature to PuppetDB.
2013-10-17 11:49:47 -04:00
Ashley Penney
85684640b7 FM-103: Add metadata.json to all modules.
I've been asked to add metadata.json to all modules.  I've just
listed the main RedHat/Debian distros as supported for now.
2013-10-08 11:15:49 -07:00
Ken Barber
3affb17ee3 Release 2.0.0
This modifies the CHANGELOG for the 2.0.0 release, and adds an upgrading
section to warn users about the `inifile` change during the upgrade.

Signed-off-by: Ken Barber <ken@bob.sh>
2013-10-07 23:00:26 +01:00
Ryan Senior
a87abd7625 Merge pull request #86 from kbarber/maint/master/pin_postgresql_fixtures_to_250
Pin fixtures to use postgresql 2.5.0
2013-10-07 14:34:20 -07:00
Ken Barber
627a0bc80d Pin fixtures to use postgresql 2.5.0
Unfortunately postgresql master is not compatible with this module yet, so to
avoid errors during testing we are having to pin the revision of postgresql
we pull down.

Unfortunately again, puppetlabs_spec_helper doesn't yet support branches, so
we're pinning on a specific revision for now.

This can be removed once we are modified to be compatible with the newly
released postgresql module.

Signed-off-by: Ken Barber <ken@bob.sh>
2013-10-06 23:54:24 +01:00
Ken Barber
73c1d655b8 Merge pull request #74 from kbarber/ticket/master/GH-73-cprice-inifile-deprecated
(GH-73) Switch to puppetlabs/inifile from cprice/inifile
2013-10-04 04:31:41 -07:00
Ken Barber
581215f1cb Merge pull request #81 from ak0ska/service_status
Enable service control for puppetdb
2013-09-25 09:27:42 -07:00
Akos Hencz
0868426c32 Added puppetdb service control 2013-09-02 11:30:31 +02:00
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
Ken Barber
620c9cf6c9 (GH-73) Switch to puppetlabs/inifile from cprice/inifile
cprice/inifile is deprecated, this patch changes the module to use inifile's
new home puppetlabs/inifile.

Signed-off-by: Ken Barber <ken@bob.sh>
2013-07-31 22:52:25 +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