Commit graph

11 commits

Author SHA1 Message Date
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
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
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
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
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
df6f7cc345 Add parameters to enable usage of enterprise versions of PuppetDB 2012-09-28 11:03:19 -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
Garrett Honeycutt
1aab5d98b0 complies with style guide 2012-09-20 14:46:26 -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
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
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