Commit graph

404 commits

Author SHA1 Message Date
Kevin Paulisse
63ab89048d
Connection params off by default but settable via hiera 2016-05-28 23:16:56 -05:00
Kevin Paulisse
4f03c6cf6b
Merge remote-tracking branch 'upstream1/master' into kpaulisse-dbconnections 2016-05-28 23:13:25 -05:00
Wyatt Alt
6be627da3a Merge pull request #231 from ajroetker/ticket/master/pdb-2696/remove_dependency_cycle
(PDB-2696) Remove the dependency cycle cause by typo
2016-05-17 11:33:46 -07:00
Andrew Roetker
867e9fe22e (PDB-2696) Remove the dependency cycle cause by typo
This commit removes the dependency cycle caused by a typo in the config
name for config.ini and properly threads through the vardir setting to
the puppetdb::server::global class.
2016-05-13 14:26:40 -07:00
Andrew Roetker
6b26a28d22 Merge pull request #228 from kbarber/ticket/master/pdb-2571-fix-perms-of-config-files
(PDB-2571) Ensure puppetdb.ini file has correct permissions
2016-05-12 15:25:18 -07:00
Ken Barber
59100fd6bc (PDB-2571) Ensure all managed ini files have correct permissions
Much like read-database.ini, we need to ensure the permissions for puppetdb.ini and others are set explicitly
to ensure permissions are still correct after configuration. Without this users with different umask
settings may find their files are no longer accessible after the module runs.

This patch fixes the globally for all the ini files we currently manage (repl.ini is not managed fwiw).

This also fixes a bug whereby we were missing puppetdb::server::global from the main server class, it adds this
back and fixes the tests to ensure we don't lose it.

Signed-off-by: Ken Barber <ken@bob.sh>
2016-05-12 18:31:50 +01:00
Ken Barber
e5d8c6b4ec Merge pull request #225 from PascalBourdier/postgresql-contrib
Update postgresql.pp with postgresql contrib package
2016-05-10 15:34:30 +01:00
PascalBourdier
51c1b217c2 create pg_trgm in database
add pg_trgm postgresql extension and contrib package for dependency
2016-05-10 09:45:41 +02:00
Nathan Ward
46f1b03145 Manage the maximum-pool-size configuration parameter in database.ini 2016-05-02 16:41:53 +12:00
Ryan Senior
98821c294d Merge pull request #227 from kbarber/ticket/master/pdb-2637-provide-static-facts-to-fix-rspec-tests
(PDB-2637) Add static facts for selinux and iptables to fix rspec tests
2016-04-20 09:15:28 -05:00
Ken Barber
298c44c67d (PDB-2637) Add static facts for selinux and iptables to fix rspec tests
The firewall module requires selinux and the iptables_persistent_version facts to be defined
up front for our tests to pass. This patch includes those static facts, so we pass.

Signed-off-by: Ken Barber <ken@bob.sh>
2016-04-20 14:55:26 +01:00
PascalBourdier
68242bc570 Update postgresql.pp
postgresql contrib package is needed to avoid warn message about pg_trgm indexes
2016-04-02 16:39:19 +02:00
Wyatt Alt
0b2d0ed5e7 Merge pull request #224 from mmckinst/open_ssl_listen_port
open_ssl_listen_port defaults to undef, not true
2016-03-21 12:28:35 -07:00
Mark McKinstry
ec93e5171b open_ssl_listen_port defaults to undef, not true
changed in commit 448f8bc996
2016-03-21 15:26:00 -04:00
Wyatt Alt
d05e09fa54 Merge pull request #223 from ajroetker/maint/prep_for_module_bugfix_release_5.1.2
(maint) Prep module for v5.1.2 release
2016-03-14 13:46:29 -07:00
Andrew Roetker
07053b7901 (maint) Prep module for v5.1.2 release
This commit adds release notes and some README cleanups for a v5.1.2
release of the module for the CentOS terminus upgrade fix.
2016-03-14 13:44:31 -07:00
Ryan Senior
02c05c4a57 Merge pull request #222 from ajroetker/maint/handle_terminus_package_upgrades
(maint) Handle terminus to termini package upgrades
2016-03-14 14:06:22 -05:00
Andrew Roetker
16e50d74eb (maint) Pin rake gem version for ruby 1.8.7 2016-03-11 15:17:15 -08:00
Andrew Roetker
4985c82f1c (maint) Handle terminus to termini package upgrades
This commit adds an exec to allow users to upgrade to termini-3.x via
the module with no extra manual steps.
2016-03-11 12:09:53 -08:00
Wyatt Alt
f83ab10ca1 update metadata.json for 5.1.1 release 2016-02-09 14:54:37 -08:00
Wyatt Alt
10b81ab14e update changelog for 5.1.1 2016-02-09 14:54:15 -08:00
Wyatt Alt
6768ac3593 Revert "(maint) use 'puppetdb-terminus' on redhat with version 3+"
This reverts commit f246e95e17.
2016-02-09 14:52:43 -08:00
Wyatt Alt
33109bdb7a update version in metadata.json 2016-02-09 13:38:57 -08:00
Andrew Roetker
1bb6fc3713 Merge pull request #221 from wkalt/maint/master/add-5.1.0-release-notes
(maint) update release notes for 5.1.0
2016-02-09 13:24:15 -08:00
Wyatt Alt
ad544199db (maint) update release notes for 5.1.0 2016-02-09 13:15:18 -08:00
Andrew Roetker
4199f1e0a2 Merge pull request #220 from wkalt/maint/master/install-puppetdb-terminus-on-redhat
(maint) use 'puppetdb-terminus' on redhat with version 3+
2016-02-09 12:21:54 -08:00
Wyatt Alt
f246e95e17 (maint) use 'puppetdb-terminus' on redhat with version 3+
This makes it possible to upgrade PDB from 2.x to 3+ on redhat without
explicitly specifying the terminus package name.
2016-02-09 11:29:58 -08:00
Wyatt Alt
d69a051f3f Merge pull request #218 from holtwilkins/patch-1
lint fix in report_processor
2016-02-08 14:49:39 -08:00
Wyatt Alt
d313465cd8 Merge pull request #219 from holtwilkins/lint-fix-selectors
Un-embedding selectors from class declarations
2016-02-08 14:49:19 -08:00
Holt Wilkins
74ea94bc5c Un-embedding selectors from class declarations 2016-02-08 13:47:20 +11:00
holtwilkins
994794e725 lint fix in report_processor 2016-02-08 11:57:23 +11:00
Andrew Roetker
d95100a2cf Merge pull request #216 from puppetlabs/ticket/master/pdb-2260-docs-fix
(PDB-2260) Update README.md
2016-01-20 15:32:17 -08:00
Russell Mull
c0da8ec29e Update README.md 2016-01-20 15:29:32 -08:00
Ken Barber
ed371ce829 Merge pull request #215 from michaelweiser/qr2
Restrict access to the Puppet master by default
2015-10-15 15:16:16 +01:00
Ken Barber
eea0a30872 Merge pull request #213 from ajroetker/maint/cleanup_markdown_in_README
(maint) This commit tidy's up the examples and markdown in the README
2015-10-15 15:05:55 +01:00
Ken Barber
dcbee6d5cd Merge pull request #214 from michaelweiser/qr1
Add option to disable cleartext HTTP port
2015-10-15 14:13:23 +01:00
Michael Weiser
3889cc56a4 Add option to restrict access to PuppetDB
Add the option to set up a certificate whitelist file and configure it
in PuppetDB so that only specific hosts (i.e. the Puppet master(s)) have
access.
2015-10-15 09:33:52 +02:00
Michael Weiser
fea383feb1 Add option to disable cleartext HTTP port 2015-10-14 22:32:51 +02:00
Andrew Roetker
e350f73592 (maint) This commit tidy's up the examples and markdown in the README 2015-10-10 02:44:39 -07:00
Ken Barber
7ec7b40f41 Merge branch 'stable'
* stable:
  (maint) Lint fixes
2015-10-06 15:35:21 -07:00
Andrew Roetker
bf9211a1a6 Merge pull request #211 from kbarber/maint/stable/lint-cleanups
(maint) Lint fixes
2015-10-06 14:33:28 -07:00
Ken Barber
b3f685b5e1 (maint) Lint fixes
This patch fixes some of the lint warnings/errors we've been getting on the
forge.

In some cases I've fixed real bugs also, in particular double quotes/single
quotes in cases, which would have broken variable interpolation.

Signed-off-by: Ken Barber <ken@bob.sh>
2015-10-05 13:40:54 -07:00
Ken Barber
de82d15750 Merge pull request #205 from roman-mueller/fix_port_deprecation
MODULES-2488 Use dport instead of the now deprecated port parameter
2015-10-04 19:38:47 -07:00
Andrew Roetker
b79864c9d4 Merge pull request #210 from wkalt/ticket/master/pdb-1430-overwritable-java-args
(PDB-1430) overwritable java_args
2015-09-28 10:52:15 -07:00
Wyatt Alt
4a1f3245d0 (PDB-1430) overwritable java_args
this creates a new config setting, merge_default_java_args, that users may set
to false to override the default java_args.
2015-09-21 15:27:23 -07:00
Andrew Roetker
e371db7957 Merge pull request #209 from wkalt/ticket/master/pdb-1913-manage-vardir
(PDB-1913) manage vardir
2015-09-17 15:28:46 -07:00
Wyatt Alt
2990f80ef1 (PDB-1913) manage vardir
This updates the module to manage vardir, and also makes room for general
management of the global ini section.
2015-09-16 15:26:50 -07:00
Andrew Roetker
db91599013 Merge pull request #206 from mullr/ticket/master/pdb-1415-jdbc-subparams
(PDB-1415) Add jdbc_ssl_properties parameter
2015-09-01 15:00:49 -07:00
Russell Mull
28d23d5a9e (PDB-1415) Add jdbc_ssl_properties parameter 2015-09-01 14:27:51 -07:00
Roman Mueller
9ef0caa0e2 Use dport instead of the new deprecated port parameter 2015-08-29 15:08:05 +02:00