Commit graph

416 commits

Author SHA1 Message Date
Ken Barber
ec13bc4553 (PDB-1467) Ordering problem with read_database_ini
This fixes the ordering for the read_database_ini class, and fixes a small
notification problem with config_ini as well.

Signed-off-by: Ken Barber <ken@bob.sh>
2015-05-06 13:58:44 +01:00
Ken Barber
4940938efe Merge pull request #176 from buzzdeee/master
Enable the module to manage entries in $confdir/config.ini
2015-04-22 13:44:46 +01:00
Sebastian Reitenbach
72e1924b11 Enable the module to manage entries in $confdir/config.ini, in the
command-processing section.

Added new class server/config_ini.pp to manage contents of the config.ini.
Three new parameters added:
  * command_threads
  * store_usage
  * temp_usage

All three default to 'undef'. This makes sure (potential) custom settings
done to that file with regard to above three variables are 'absent',
and let PuppetDB built-in defaults take care.

Documentation to the README.md added, as well as unit tests.

My use-case was, that I have on some nodes a too small /var partition,
so I had to lower the values of store-usage and temp-usage in the config.ini
manually.
2015-04-22 06:19:35 +02:00
Rob Browning
c5a8545e97 Merge pull request #177 from kbarber/maint/master/bump-rspec-and-concat-dependencies
(maint) Add file_concat and bump rspec versions
2015-04-21 10:11:19 -05:00
Ken Barber
332ec352f9 (maint) Add file_concat and fix rspec warnings
This fixes the file_concat dependency issue postgresql module has brought in,
plus removes some deprecation warnings from our rspec tests.

I've also bumped rspec-puppet as well, while I was at it.

Signed-off-by: Ken Barber <ken@bob.sh>
2015-04-21 14:35:56 +01:00
Rob Browning
6c9c365847 Merge pull request #175 from ajroetker/ticket/modules-1917/ignore_osx_build_files_on_module_build
(MODULES-1917) Ignore `._` files when building the module tarball
2015-04-08 12:01:56 -05:00
Andrew Roetker
ff3b314e03 (MODULES-1917) Ignore ._ files when building the module tarball
This commit bumps the version of the module so the we can build a
version without ._foo copy files (done by prefixing our `puppet module
build` step `COPYFILE_DISABLE=false`).
2015-04-08 09:53:05 -07:00
Ryan Senior
ed8a5a511b Merge pull request #174 from ajroetker/pdb-1382_add_release_notes_for_420
(PDB-1382) Add release notes for 4.2.0
2015-04-02 18:10:35 -05:00
Andrew Roetker
27e1d62678 (PDB-1382) Add release notes for 4.2.0
This commit prepares the module for a 4.2.0 release by adding a
pmtignore file to exclude tests from the module build process and by
adding release notes in the CHANGELOG.
2015-04-02 15:46:12 -07:00
Ken Barber
9f2cdd3b97 Merge pull request #172 from johnduarte/pdb-1353
(PDB-1353) Use settings::confdir for puppet_confdir
2015-04-01 17:09:26 +01:00
John Duarte
4283af99bb (PDB-1353) Use settings::confdir for puppet_confdir
This commit adds conditionals to use `$settings::confdir` to introspect
the value for `$puppet_confdir` when available. This change is necessary
for compatibility with the path changes in Puppet 4.
2015-03-30 13:16:00 -07:00
Ken Barber
dcb94d9476 Merge pull request #169 from ajroetker/bugfix_use_test_url_param_in_conn_validator
(bugfix) Use test_url in connection validator for puppetdb
2015-03-30 18:49:40 +01:00
Ken Barber
3e1372ea97 Merge pull request #168 from ghoneycutt/validate_metadata
Validate metadata
2015-03-30 18:46:45 +01:00
Hunter Haugen
516c3dcd68 Merge pull request #171 from mmoll/freebsd
add FreeBSD support
2015-03-30 09:09:32 -07:00
Michael Moll
eba00b7ec7 add FreeBSD support 2015-03-25 22:16:47 +01:00
Andrew Roetker
61e1ec9634 (bugfix) Use test_url in connection validator for puppetdb
This commit addresses an issue where the provider for
puppetConnValidator was not using the test_url specified by the
resource. This commit passes the param from the initializer to the utils
class.
2015-03-09 14:33:36 -07:00
Garrett Honeycutt
6eb182fd24 Travis shall validate module's metadata 2015-03-03 15:46:27 -05:00
Garrett Honeycutt
fdb75dbd7c Update license string in metadata to use SPDX format
License is still Apache Software License v2. This is the format that the
Puppet Forge would like.
2015-03-03 15:45:22 -05:00
Ken Barber
cb5d1778ae Merge pull request #167 from kbarber/maint/master/pin-rspec
Pin rspec to 3.1.7 so we avoid the ruby 1.8.7 errrors
2015-02-05 11:41:40 +00:00
Ken Barber
b482ad8efa Merge pull request #163 from enovance/allow_masterless_configuration
Allow puppetdb to be configure for masterless conf
2015-02-05 11:37:11 +00:00
Yanis Guenane
a826d85735 Allow puppetdb to be configure for masterless conf
Currently the module only allows PuppetDB to be configured in a
agent/master setup configuration, by configuring the master section of
the puppet.conf and applying on the routes for such a configuration.
This commit allows one to use this module to configure the main section of
the puppet.conf and applying the proper routes so the module can configure
nodes to use PuppetDB in a masterless setup.

Doc about puppet.conf configure in masterless way available here
https://docs.puppetlabs.com/puppetdb/2.2/connect_puppet_apply.html#manage-puppetconf
2015-02-05 06:31:54 -05:00
Ken Barber
eff3ce1804 Pin rspec to 3.1.7 so we avoid the ruby 1.8.7 errrors
Seems rspec 3.2.0 broke on Ruby 1.8.7. This does a pinning so we can avoid the
issue.

Signed-off-by: Ken Barber <ken@bob.sh>
2015-02-05 11:31:49 +00:00
Ken Barber
04f81ee4fa Merge pull request #162 from bastelfreak/add-postgres-repo
add ability to manage postgres repo
2015-02-03 13:59:50 +00:00
Tim Meusel
767fe5c25a update README.md 2015-01-28 16:32:31 +01:00
Tim Meusel
55ee4389ab remove useless before attribute 2015-01-16 00:28:15 +01:00
Ken Barber
021562d658 Merge pull request #164 from njm506/master
Fix separator in module name in metadata.json
2015-01-15 12:10:22 +00:00
njm506
0df5a89faa Fix separator in module name in metadata.json 2015-01-15 11:43:53 +00:00
Tim Meusel
1fe0a76032 add ability to manage postgres repo
the module triggers puppetlabs-postgresql which is able to handle yum/apt repos from the postgres devs. Usefull in cases that your operating system doesn't provide the newest release. this feature is disabled by default

fix typo
2015-01-14 14:02:49 +01:00
Ken Barber
d4de12fb6d Merge pull request #157 from yo61/make_validate_db_optional
Make database validation optional
2015-01-12 16:51:07 +00:00
Robin Bowes
1a5a4efef5 Make database validation optional 2015-01-12 16:37:21 +00:00
Ken Barber
cb71baa1e9 Merge pull request #160 from bastelfreak/fix-manage-firewall
add missing param manage_firewall
2015-01-07 13:49:03 +00:00
Ken Barber
04a133c386 Merge pull request #158 from dalen/restart_on_cert_change
Restart the service if certificates change
2015-01-07 13:44:49 +00:00
Ken Barber
51e9a4ba7a Merge pull request #161 from ekohl/remove-unused-parameters
Remove unused parameters
2015-01-07 13:42:25 +00:00
Ewoud Kohl van Wijngaarden
1c6081082e Remove unused parameters 2015-01-06 19:03:42 +01:00
Ken Barber
c07e54110f Merge pull request #159 from wkalt/maint/master/pin-beaker-for-1.8.7
(maint) don't use beaker for unit testing
2015-01-05 15:57:43 +00:00
wkalt
8f0bdc2a9a (maint) pin beaker for ruby 1.8.7
Travis is failing on 1.8.7 due to some recent updates in rails. This should fix
the issue.
2015-01-05 07:49:10 -08:00
Tim Meusel
4031dc7883 add missing param manage_firewall
the param manage_firewall was added in an earlier release to puppetdb::server. The class isn't called directly but via the init.pp. the puppetdb class had already the param manage_firewall but this wasn't forwarded to puppetdb::server
2015-01-05 11:16:32 +01:00
Erik Dalén
1c6f37a4ee Restart the service if certificates change 2014-12-18 17:04:56 +01:00
Ken Barber
e56eb99146 Merge pull request #156 from ajroetker/maint_prune_old_pe_code
(maint) Prune dead PE code
2014-12-09 13:17:51 +00:00
Andrew Roetker
36148124b6 (maint) Prune dead PE code
This commit removes some dead PE code that is no longer used to make
params a little cleaner.
2014-12-05 14:05:50 -08:00
Ken Barber
5fb9e8e8c6 Merge pull request #155 from sathieu/patch-1
Show scheme (http/https) in puppetdb connection errors
2014-12-03 12:48:49 +00:00
Mathieu Parent
63fecabf96 Show scheme (http/https) in puppetdb connection errors 2014-12-03 11:45:04 +01:00
Ken Barber
da4e0ee918 Merge branch 'fix-ssl-protocols'
* fix-ssl-protocols:
  Add ssl_protocol param to puppetdb & puppetdb::server classes
2014-11-28 18:16:10 +00:00
Tim Meusel
c3cdd86d55 Add ssl_protocol param to puppetdb & puppetdb::server classes
puppetdb::server calls puppetdb::server:jetty_ini,
jetty_ini is able to set ssl_protocols, but this param isn't
present in the puppetdb::server class nor in the puppetdb class
2014-11-28 18:15:16 +00:00
Wyatt Alt
1c718132e4 Merge pull request #154 from jbondpdx/master
FM-1523: Added module summary to metadata.json
2014-11-20 16:14:00 -08:00
jbondpdx
e257cbf45d FM-1523: Added module summary to metadata.json 2014-11-20 15:45:28 -08:00
Ryan Senior
5d5d54fc94 Merge pull request #152 from kbarber/ticket/master/pdb-1025-release-410
(PDB-1025) Release 4.1.0
2014-11-13 09:59:53 -06:00
Ken Barber
5e1584baf9 (PDB-1025) Release 4.1.0
This patch updates the changelog for 4.1.0 (and for 4.0.0 which we missed) and
preps the module for a 4.1.0 release.

Signed-off-by: Ken Barber <ken@bob.sh>
2014-11-13 15:52:22 +00:00
Wyatt Alt
bf6f6bde57 Merge pull request #151 from kbarber/maint/master/fix-hsqldb-store-path
(maint) Correct path for hsqldb storage
2014-11-12 11:27:18 -08:00
Ken Barber
fd6c2a2a60 (maint) Correct path for hsqldb storage
For some reasons we switched this to use /usr/share/puppetdb/db, which has a
softlink to /var/lib/puppetdb/db. This is not aligned with the PuppetDB core
nor is it following FHS.

Signed-off-by: Ken Barber <ken@bob.sh>
2014-11-06 14:15:06 +00:00