Commit graph

307 commits

Author SHA1 Message Date
Robin Bowes
8c68fc1dd2 Add the ability to a) deploy ssl keys, b) set paths to ssl keys in jetty.ini
This also adds parameters for puppetdb user/group to support PE correctly.
2014-10-07 15:04:37 +01:00
Ken Barber
422d40083f Merge pull request #146 from seanmil/fix_pe_detect
Fix detection of a PE-based PuppetDB
2014-10-04 13:27:36 +01:00
Sean Millichamp
e4d26bdd85 Fix defined() call to correctly test is_pe
defined('$::is_pe') will never evaluate to true, even if
the is_pe fact is defined. defined('$is_pe') will return the
correct results.
2014-10-03 16:49:25 -04:00
Sean Millichamp
b2e123180a Add spec test showing is_pe detection failure
Add a new spec test providing some initial coverage of
puppetdb::server demontrating the failure to correctly
detect a PE environment.
2014-10-03 16:48:07 -04:00
Ken Barber
5637d92591 Merge pull request #144 from ghoneycutt/patch-2
Update README.md
2014-09-25 09:13:29 +01:00
Ken Barber
32d965d557 Merge pull request #145 from ghoneycutt/patch-3
Update jetty_ini.pp
2014-09-25 09:13:20 +01:00
Garrett Honeycutt
95812ed192 Update jetty_ini.pp 2014-09-24 17:43:40 -04:00
Garrett Honeycutt
25df72e252 Update README.md
fix typo
2014-09-24 17:40:07 -04:00
Ken Barber
1671d56e64 Merge pull request #143 from senior/ticket/master/pdb-871
4.0.0 release commit
2014-09-16 17:25:49 +01:00
Ryan Senior
f5d7479572 4.0.0 release commit 2014-09-16 10:37:26 -05:00
Ken Barber
f1ad8d0a30 Merge pull request #142 from kbarber/ticket/master/pdb-871-4-0-0-release
Ticket/master/pdb 871 4 0 0 release
2014-09-16 16:34:03 +01:00
Ken Barber
65752f7736 (PDB-871) Typo in README.md
Signed-off-by: Ken Barber <ken@bob.sh>
2014-09-16 15:59:55 +01:00
Ryan Senior
4894c2038f (PDB-871) Prepare for 4.0.0 release
Bumped versions of dependencies, removed support for older
version (since this is a major release boundry)
2014-09-16 15:59:43 +01:00
Ken Barber
1a4851faec Merge branch 'fix_puppet_lint_errors'
* fix_puppet_lint_errors:
  Use str2bool for backwards compatibility, and avoid changing puppetdb_service_status
  Fix some Puppet Lint errors
2014-09-15 22:59:59 +01:00
Ken Barber
8ce1856222 Use str2bool for backwards compatibility, and avoid changing puppetdb_service_status
is_pe being a fact, its smarter her to coerce the value of it too a boolean, in
case we still receive the value as a string. In the future structured facts
will become the norm.

I've also removed the patch against the values for puppetdb_service_status, matching
against a bareword boolean while it looks good, if the value is indeed a boolean the
in will fail in the current parser. This can be brought up again in the future.

Signed-off-by: Ken Barber <ken@bob.sh>
2014-09-15 22:59:38 +01:00
Matthias Baur
9d607f55f3 Fix some Puppet Lint errors
Fix wrong indention
2014-09-15 21:08:34 +01:00
Hunter Haugen
ed6579b6ea Merge pull request #139 from cyberious/master
Remove puppet_module_install in favor of copy_module_to
2014-09-10 11:47:46 -07:00
Travis Fields
40c76e3eae Remove puppet_module_install in favor of copy_module_to 2014-09-10 11:46:06 -07:00
Ken Barber
2c00c65061 Merge pull request #136 from buzzdeee/openbsd
OpenBSD support
2014-09-05 19:02:24 +01:00
Wyatt Alt
9c35c3d2dd Merge pull request #135 from buzzdeee/manage_firewall
do not manage firewall for postgres, puppetlabs/postgres module from
2014-09-03 09:44:02 -07:00
Sebastian Reitenbach
f08fe90642 OpenBSD support 2014-08-31 22:41:39 +02:00
Sebastian Reitenbach
5ed5839d48 do not manage firewall for postgres, puppetlabs/postgres module from
git has dropped that silly firewall management support.

do not document removed manage_firewall parameter anymore
2014-08-31 22:36:11 +02:00
Ken Barber
ba3049796f Merge pull request #133 from ghoneycutt/patch-1
Use EL instead of RHEL
2014-08-07 15:08:44 +01:00
Ken Barber
3f49930c8c Merge pull request #134 from tdevelioglu/master
Fixed read-database parameters in class puppetdb
2014-08-07 15:08:31 +01:00
Taylan Develioglu
66b5cc087f Fixed read-database parameters in class puppetdb 2014-08-06 10:05:53 +02:00
Garrett Honeycutt
bd5423569f Use EL instead of RHEL
To be more inclusive of variants like CentOS
2014-08-05 16:16:44 -04:00
Ken Barber
79c9e54f39 Merge pull request #132 from tdevelioglu/master
Add read-database support
2014-08-05 13:49:21 +01:00
Taylan Develioglu
9a3055281b Mention puppetdb version in read-database parameters. 2014-08-04 14:02:40 +02:00
Taylan Develioglu
27840d6959 Add read-database support 2014-08-04 13:54:38 +02:00
Ken Barber
a4eef72ba8 Merge pull request #131 from digitalmediacenter/allow_manage_server_init
Allow set manage_server in init class
2014-07-11 13:45:45 +01:00
Matthias Baur
9ddef32eac Fixed typo 2014-07-11 11:18:11 +02:00
Matthias Baur
eac026c658 Allow to set the manage_server parameter in the init class 2014-07-11 11:14:40 +02:00
Ken Barber
cbcf042f54 Merge pull request #127 from dalen/flexible_routes
Allow more flexible routes configuration
2014-07-01 11:50:00 +01:00
Ken Barber
c706255bc0 Merge pull request #130 from stefanandres/jetty_max_threads
implement max_threads option for jetty
2014-07-01 11:49:06 +01:00
Ken Barber
b80b921348 Merge pull request #125 from rickerc/bugs/1298605
Ensure db and db users created before validation
2014-07-01 11:48:21 +01:00
Stefan Andres
00838d8fb3 remove default assumption in README 2014-07-01 12:44:40 +02:00
Stefan Andres
3061b90127 implement max_threads option for jetty 2014-06-26 17:15:34 +02:00
Ken Barber
19935e65da Merge pull request #129 from mcanevet/feature/enable_strict_variables
Auto enable strict_variables for unit tests when puppet > 3.5
2014-06-19 11:14:34 -07:00
Mickaël Canévet
ebac7adda7 Auto enable strict_variables for unit tests when puppet > 3.5 2014-06-19 11:51:00 +02:00
Ken Barber
456caebc31 Merge pull request #121 from jantman/conditional_db
Parameter to not manage postgresql server
2014-06-17 09:39:00 -07:00
Erik Dalén
32decebb04 Allow more flexible routes configuration 2014-05-14 14:10:58 +02:00
Ken Barber
23849e4be8 Merge pull request #126 from mcanevet/fix/strict_variables
Add strict_variables support when puppetdb is not on puppetmaster
2014-04-10 14:40:11 +01:00
Mickaël Canévet
51fcc18aa8 Fix strict_variables issue 2014-04-10 15:37:20 +02:00
Mickaël Canévet
0c0464d2d3 Add STRICT_VARIABLES support in travis with puppet > 3.5 2014-04-08 16:24:19 +02:00
Mickaël Canévet
e97f9e38d1 Add unit tests for puppetdb::master::config 2014-04-08 16:23:58 +02:00
Mickaël Canévet
1d631e2ef4 Add strict_variables support when puppetdb is not on puppetmaster 2014-04-08 15:08:23 +02:00
Chris Ricker
209f0c6476 Ensure db and db users created before validation
Ensure that for PostgreSQL backends, the database validation functions
are not run until the initial database creation and user role creation
has been completed.

Closes-Bug: #1298605
2014-04-02 08:44:25 -07:00
Ken Barber
5ad2a6d8b2 Merge pull request #123 from kbarber/maint/master/fix_is_pe
Fix is_pe declaration so it works without is_pe
2014-03-05 08:03:48 -08:00
Ken Barber
1bbce1830e Test against string 'true' not boolean
Because facter likes to convert booleans to strings

Signed-off-by: Ken Barber <ken@bob.sh>
2014-03-02 10:42:49 -08:00
Ken Barber
c049fba8e2 Fix is_pe declaration so it works without is_pe
Signed-off-by: Ken Barber <ken@bob.sh>
2014-02-27 17:03:21 +00:00