Commit graph

201 commits

Author SHA1 Message Date
Drew Blessing
0afc276070 Adjust examples in tests to include new port params 2012-11-14 10:12:25 -06:00
Drew Blessing
57445ef70f 17594 - PuppetDB - Add ability to set standard host listen address and open firewall to standard port
Prior to this commit the module did not provide a way to set a bind address for the HTTP port.  This
commit allows users to not only bind to an address and port other than localhost and 8080, but it also
opens the firewall if explicitly requested.
2012-11-14 09:00:15 -06:00
Chris Price
eabee5406b Update Modulefile and CHANGELOG; final commit for version 1.1.2 2012-10-26 11:44:35 -07:00
Chris Price
a72cc7c9f0 Add missing inherit for puppetdb::params
Prior to this commit if you tried to use the classes
`puppetdb::master::routes` or `puppetdb::master::storeconfigs`
directly (rather than implicitly through
`puppetdb::master::config`), you would get a failure about
`puppetdb::params` not having been evaluated.  This is because
the classes were missing an `inherits` statement; this commit
fixes both of them.
2012-10-26 11:42:40 -07:00
Chris Price
5c94dd161d Update Modulefile and CHANGELOG; final commit for version 1.1.1 2012-10-26 10:22:34 -07:00
Chris Price
ea9b379062 Add missing inherit for puppetdb::params
Prior to this commit if you tried to use the class
`puppetdb::master::puppetdb_conf` directly (rather than
implicitly through `puppetdb::master::config`), you would
get a failure about `puppetdb::params` not having been
evaluated.  This is because the class was missing an
`inherits` statement; this commit fixes the bug.
2012-10-26 10:20:03 -07:00
Chris Price
4c9a7cf0fd Update Changelog; final commit for 1.1.0 release 2012-10-24 17:10:35 -07:00
Chris Price
bea79b41a2 Update Modulefile
* Update the version number to 1.1.0
* Update the postgres dependency to puppetlabs/postgresql
2012-10-24 17:08:30 -07:00
Chris Price
a0c1ce2588 Merge pull request #19 from reidmv/fix/master/pe_subname
Fix embedded db setup in Puppet Enterprise
2012-10-17 13:37:53 -07:00
Reid Vandewiele
bf0ab45620 Fix embedded db setup in Puppet Enterprise
The subname value in database.ini when using an embedded database varies
between the Puppet Enterprise package and the FOSS Puppet package.
Previously, the PuppetDB module could not successfully manage an
embedded database on a PE master. This commit adds an additional
parameter and utilization to account for this.
2012-10-17 13:28:01 -07:00
Chris Price
b119a30af5 Update manifests/master/config.pp
This just incorporates some whitespace / compatibility issues that @hunner noticed in the last pull request.
2012-10-17 09:33:29 -07:00
Chris Price
d1cd651a98 Merge pull request #18 from cprice-puppet/feature/master/configurable-puppetdb-startup-timeout
Make puppetdb startup timeout configurable
2012-10-16 17:48:03 -07:00
Chris Price
783b595fc7 Make puppetdb startup timeout configurable
In some environments, puppetdb can take longer than 10 seconds
to start up.  Prior to this commit, that value was hard coded
and the module would sometimes fail when it wouldn't have failed
with a slightly larger timeout.  This commit makes the timeout
configurable, and also increases the default value to 15 seconds.
2012-10-16 17:42:02 -07:00
Chris Price
75532a060e Merge pull request #15 from hunner/add_pe_param_detection
Add condition to detect PE installations and provide different parameters
2012-10-01 11:18:22 -07:00
Chris Price
4d0154d14d Merge pull request #14 from hunner/pe_puppetdb_master
Add example manifest code for pe puppet master
2012-10-01 11:17:25 -07:00
Hunter Haugen
63f1c52d8b Add condition to detect PE installations and provide different parameters 2012-10-01 11:05:25 -07:00
Hunter Haugen
a598edc56a Add example manifest code for pe puppet master 2012-10-01 10:58:22 -07:00
Chris Price
7dde8c3e36 Merge pull request #11 from cprice-puppet/feature/master/params-for-pe
Add parameters to enable usage of enterprise versions of PuppetDB
2012-10-01 10:49:46 -07:00
Chris Price
b5df5d9197 Update comments and docs w/rt PE params
This is just a small add-on to Hunter's commits where he added
extra parameters to support PE.  This commit just cleans up
some of my old comments that were made irrelevant or inaccurate
due to the work that he did, and adds a bit of documentation to
the new test manifest that he created.
2012-10-01 10:46:33 -07:00
Hunter Haugen
850e039500 Adding pe_puppetdb tests class 2012-10-01 10:28:57 -07:00
Hunter Haugen
df6f7cc345 Add parameters to enable usage of enterprise versions of PuppetDB 2012-09-28 11:03:19 -07:00
Chris Price
5f48dabd7a Merge pull request #9 from cprice-puppet/feature/master/parameter-for-restart-puppet
Add a parameter for restarting puppet master
2012-09-23 10:58:32 -07:00
Chris Price
2941dbdec8 Updated CHANGELOG ; final commit for 1.0.3 release 2012-09-23 10:57:26 -07:00
Chris Price
179b337571 Add a parameter for restarting puppet master
Prior to this commit, the module always attempted
to restart the puppet master service whenever it
managed the master config files.  This commit
disables that behavior since our acceptance nodes
don't have the service installed.
2012-09-23 10:05:00 -07:00
Chris Price
af50c423c2 Update CHANGELOG - final commit for 1.0.2 release 2012-09-21 11:03:37 -07:00
Chris Price
f21740b699 Pass 'manage_redhat_firewall' param through to postgres
Prior to this commit, if you allowed the puppetdb module
to manage postgres for you, it would always try to manage
the firewall for the postgres port on redhat systems.

This commit exposes that as a parameter in a few more
spots, and passes it through to the postgres module.
2012-09-21 10:47:19 -07:00
Chris Price
79f9190585 Updated CHANGELOG - final commit for 1.0.1 release 2012-09-20 17:17:50 -07:00
Chris Price
bbd1f3014d Merge pull request #8 from cprice-puppet/bug/master/dupe_in_db_ini
Fix duplicate stanza in database_ini.pp
2012-09-20 17:10:33 -07:00
Chris Price
a65afcc1f1 Fix duplicate stanza in database_ini.pp
There was a minor problem with a merge conflict in the previous
commit.  This commit should fix it.
2012-09-20 16:59:39 -07:00
Chris Price
dbc38b01fe Merge pull request #7 from cprice-puppet/maint/master/resolve-merge-conflict
Maint/master/resolve merge conflict
2012-09-20 16:23:47 -07:00
Chris Price
4360004ea2 Merge remote-tracking branch 'ghoneycutt/ticket/1.0.x/xxxx_style_updates' into maint/master/resolve-merge-conflict
Conflicts:
	manifests/server/database_ini.pp
2012-09-20 16:22:46 -07:00
Chris Price
35dbe3fc7f Merge pull request #6 from cprice-puppet/bug/master/db_ini_wrong_db_name
Bug/master/db ini wrong db name
2012-09-20 16:16:19 -07:00
Chris Price
7c81036e09 Update CHANGELOG and Modulefile 2012-09-20 16:15:47 -07:00
Garrett Honeycutt
1aab5d98b0 complies with style guide 2012-09-20 14:46:26 -07:00
Chris Price
be683b7b5a Fix invalid subname in database.ini
For the postgres subname, the module was writing the wrong value
for the database instance name.  This commit fixes that bug.
2012-09-19 13:44:39 -07:00
Chris Price
4ad02dd772 Merge pull request #4 from cprice-puppet/refactor/master/preparing-for-1.0-release
1.0 release
2012-09-19 09:41:34 -07:00
Chris Price
a89771e063 Bump version to 1.0, change module namespace
Bump the version number in the Modulefile up to 1.0, and
change the module namespace from cprice to puppetlabs.
2012-09-18 18:45:26 -07:00
Chris Price
dfcedde055 Update Modulefile to reflect new version 0.1.2 2012-09-18 17:26:14 -07:00
Chris Price
28733bb286 Update README to reflect puppet service restart 2012-09-18 17:23:55 -07:00
Chris Price
ce3d4be317 Restart the puppet master service when necessary
Prior to this commit, users needed to be aware that the puppet
master service would need a restart if certain config files
were changed (routes.yaml, puppetdb.conf).  This commit
adds a notification that will trigger a service restart if
those files are modified.
2012-09-18 17:21:42 -07:00
Chris Price
75fd8940f9 Update README to reference examples 2012-09-18 15:59:44 -07:00
Chris Price
aef363a8bb Add support for specifying the version of the puppetdb packages
Prior to this commit, all of the puppetdb packages were being
installed with 'ensure=present'.  This commit changes things
so that you can explicitly specify a version if you desire;
the default is still 'present'.
2012-09-18 15:52:10 -07:00
Chris Price
47cef23099 Add initial READMEs and CHANGELOG 2012-09-18 14:32:34 -07:00
Chris Price
b80866ebef Add support for opening puppetdb port in firewall 2012-09-17 17:06:48 -07:00
Chris Price
5b2f504865 Initial Modulefile 2012-09-17 16:05:12 -07:00
Chris Price
8fbda3c4d6 Use ini_file to manage settings, and add validation
This commit does the following:

* Use the new inifile module to manage puppet.conf
* More comprehensive management of config files
* Validate database connectivity before applying puppetdb
  config changes
* Validate puppetdb connectivity before applying puppet
  master config changes
* Documentation
2012-09-17 15:26:32 -07:00
Chris Price
b4bf8d8249 Merge pull request #3 from stephenrjohnson/master
Inifile work
2012-09-06 14:02:06 -07:00
Stephen
5cfd53f7a3 typo 2012-09-06 16:01:26 +01:00
Stephen
56ccf0ad17 refactor to use inifile add spec tests and fixture file 2012-09-06 15:56:26 +01:00
Chris Price
7c4b54a7f0 Initial working version (single-node-only)
The test manifests for single-node (everything installed on
the master machine) now work properly.  You have to
edit your puppet.conf by hand to turn on storeconfigs and
point it at puppetdb, but other than that, this successfully
handles everything that you need for either an hsql or
postgres setup.
2012-06-14 15:11:19 -07:00