Commit graph

413 commits

Author SHA1 Message Date
Wyatt Alt
b560f88816 Merge pull request #236 from jason-azze-cdna/readme-suggestion
replace invalid node name variables in 3-node example
2016-07-20 14:43:31 -07:00
Jason Azze
f9ab009010 replace invalid node name variables in 3-node example 2016-07-20 16:18:35 -04:00
Andrew Roetker
27ce82b11b Merge pull request #232 from kpaulisse/kpaulisse-dbconnections
Manage the pool size configuration parameters in database.ini
2016-06-23 12:57:03 -07:00
Ryan Senior
5a7d46a38f Merge pull request #234 from ajroetker/ticket/master/pdb-2660/restart_puppet_master_after_enabling_reporting
(PDB-2660) Restart Puppet master after enabling reporting
2016-06-22 16:19:14 -05:00
Kevin Paulisse
84fefe9c0b
Support partition-conn-max back to 2.8 2016-06-22 15:01:13 -05:00
Andrew Roetker
d3915a4e31 Merge pull request #233 from buzzdeee/fixup_puppetdb_user_group_openbsd
FIX: Unbreak on OpenBSD
2016-06-22 09:14:51 -07:00
Andrew Roetker
8a92361a7e (PDB-2660) Restart Puppet master after enabling reporting 2016-06-21 13:11:33 -07:00
Sebastian Reitenbach
a19d30c2e8 Unbreak on OpenBSD, underprivileged users from packages start with
_underscore, as well as such groups, therefore on OpenBSD, the
user:group is _puppetdb:_puppetdb

Because of that, instead of the single default in params.pp,
move the definition of puppetdb_user and puppetdb_group into
one of the OS specific case statement.
2016-06-08 20:10:11 +02:00
Kevin Paulisse
feebb0088e
Fix syntax error in tests 2016-05-28 23:57:48 -05:00
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