CHANGELOG 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421
  1. ## puppetlabs-puppetdb changelog
  2. Release notes for the puppetlabs-puppetdb module.
  3. ------------------------------------------
  4. #### 4.3.0 - 2015/06/10
  5. This is a minor feature release.
  6. Detailed changes:
  7. * Feature: Provide `database_embedded_path` option for overriding HSQLDB file path.
  8. * Feature: Add ability to manage `command_threads`, `store_usage` and `temp_usage`.
  9. * Bug: allow database_validation to be false
  10. * Bug: Fix ordering issues with read_database_ini
  11. * Testing: Fix file_concat dependency and fix rspec warnings
  12. ------------------------------------------
  13. #### 4.2.1 - 2015/04/07
  14. This is a minor bugfix release.
  15. Detailed Changes:
  16. * Ignore `._foo` files when building the `.tar.gz` of the module.
  17. ------------------------------------------
  18. #### 4.2.0 - 2015/04/02
  19. This is a minor feature release.
  20. Detailed Changes:
  21. * Added Puppet 4 compatibility by introspecting the value for `$puppet_confdir`.
  22. * Added `masterless` param switch to enable or disable the masterless setup of PuppetDB.
  23. * Added `manage_package_repo` param which will setup the official PostgreSQL repositories on your host.
  24. * Added FreeBSD support.
  25. * The puppetdb service now restarts if the certificates change.
  26. * `manage_firewall` and `ssl_protocols` are now configurable through the top-level puppetdb class.
  27. * Show the puppetdb server URI scheme in connection errors.
  28. * `test_url` param is now properly passed from the resource to the provider.
  29. * Removed dead PE code and unused variables from the module.
  30. * New parameter `puppetdb_disable_ssl` to enable validation to use cleartext.
  31. * Database validation is now optional via the `database_validate` and `read_database_validate` params.
  32. * Documentation updates to the README and metadata.json.
  33. ------------------------------------------
  34. #### 4.1.0 - 2014/11/13
  35. This is a minor feature release.
  36. Detailed Changes:
  37. * New capabilities added for installing SSL certificates and keys.
  38. * New parameter `puppetdb_disable_ssl` to enable validation to use cleartext.
  39. * `ssl_protocols` now provided to allow users to fine tune what protocols they want to support for PuppetDB.
  40. * Lots of documentation and parameter cleanups, to ensure consistency.
  41. * test_url is now supported for `puppetdb::master::config` to allow the URL one users to be overridden.
  42. * Corrected PE detection support.
  43. * Correct the path for HSQLDB to use /var/lib/puppetdb/db instead of /usr/share/puppetdb/db as is standard in PuppetDB core.
  44. ------------------------------------------
  45. #### 4.0.0 - 2014/09/16
  46. For this release, all dependency versions have been bumped to their latest.
  47. Detailed Changes:
  48. * The PuppetDB module now only supports Puppet 3.7.1 or later
  49. * 'puppetlabs/postgresql' 4.0.0 or later is now required
  50. * 'puppetlabs/inifile' 1.1.3 or later is now required
  51. * 'puppetlabs/firewall' 1.1.3 or later is now required
  52. * 'puppetlabs/stdlib' 4.2.2 or later is now required
  53. * The parameter `manage_firewall` for the class `puppetdb::database::postgresql` has now been removed, since the postgresql module no longer supports this.
  54. * The parameter `open_postgres_port` for the class `puppetdb` has also been removed, due to postgresql changes.
  55. ------------------------------------------
  56. #### 3.0.1 - 2014/02/11
  57. This release contains only minor bug fixes.
  58. Detailed Changes:
  59. * Add missing PUBLISHER_LOGIN variable for auto-publish. (Ashley Penney)
  60. * fix validation regular expressions for time configs (Scott Duckworth)
  61. * update ripienaar/concat -> puppetlabs/concat (Joshua Hoblitt)
  62. * Fix issue with validator when disable_ssl = true (Elliott Barrere)
  63. * Enable soft_write_failure setting when $puppetdb::disablessl = true (Elliott Barrere)
  64. * Support rspec-puppet v1.0.0 (Garrett Honeycutt)
  65. * Pin rspec-puppet to 1.x releases (Ken Barber)
  66. * Define parameter in puppetdb class to define postgres listen address (Adrian Lopez)
  67. * Enable fast finish in Travis (Garrett Honeycutt)
  68. * Convert tests to beaker (Ashley Penney)
  69. * Use the /v2 metrics endpoint instead of /metrics (Ken Barber)
  70. ------------------------------------------
  71. #### 3.0.0 - 2013/10/27
  72. This major release changes the main dependency for the postgresql module from
  73. version 2.5.x to 3.x. Since the postgresql module is not backwards compatible,
  74. this release is also not backwards compatible. As a consequence we have taken
  75. some steps to deprecate some of the older functionality:
  76. * The parameter manage_redhat_firewall for the class puppetdb has now been removed completely in favor of open_postgres_port and open_ssl_listen_port.
  77. * The parameter manage_redhat_firewall for the class puppetdb::database::postgresql, has now been renamed to manage_firewall.
  78. * The parameter manage_redhat_firewall for the class puppetdb::server has now been removed completely in favor of open_listen_port and open_ssl_listen_port.
  79. * The internal class: puppetdb::database::postgresql_db has been removed. If you were using this, it is now defunct.
  80. * The class puppetdb::server::firewall has been marked as private, do not use it directly.
  81. * The class puppetdb::server::jetty_ini and puppetdb::server::database_ini have been marked as private, do not use it directly.
  82. All of this is documented in the upgrade portion of the README.
  83. Additionally some features have been included in this release as well:
  84. * soft_write_failure can now be enabled in your puppetdb.conf with this
  85. module to handle failing silently when your PuppetDB is not available
  86. during writes.
  87. * There is a new switch to enable SSL connectivity to PostgreSQL. While this
  88. functionality is only in its infancy this is a good start.
  89. Detailed Changes:
  90. * FM-103: Add metadata.json to all modules. (Ashley Penney)
  91. * Add soft_write_failure to puppetdb.conf (Garrett Honeycutt)
  92. * Add switch to configure database SSL connection (Stefan Dietrich)
  93. * (GH-91) Update to use rspec-system-puppet 2.x (Ken Barber)
  94. * (GH-93) Switch to using puppetlabs-postgresql 3.x (Ken Barber)
  95. * Fix copyright and project notice (Ken Barber)
  96. * Adjust memory for PuppetDB tests to avoid OOM killer (Ken Barber)
  97. * Ensure ntpdate executes early during testing (Ken Barber)
  98. ------------------------------------------
  99. #### 2.0.0 - 2013/10/04
  100. This major release changes the main dependency for the inifile module from
  101. the deprecated `cprice404/inifile` to `puppetlabs/inifile` to remove
  102. deprecation warnings and to move onto the latest and greatest implementation
  103. of that code.
  104. Its a major release, because it may affect other dependencies since modules
  105. cannot have overlapping second part dependencies (that is inifile cannot be from
  106. two different locations).
  107. It also adds the parameter `puppetdb_service_status` to the class `puppetdb` to
  108. allow users to specify whether the module manages the puppetdb service for you.
  109. The `database_password` parameter is now optional, and initial Arch Linux
  110. support has been added.
  111. Detailed Changes:
  112. * (GH-73) Switch to puppetlabs/inifile from cprice/inifile (Ken Barber)
  113. * Make database_password an optional parameter (Nick Lewis)
  114. * add archlinux support (Niels Abspoel)
  115. * Added puppetdb service control (Akos Hencz)
  116. ------------------------------------------
  117. #### 1.6.0 - 2013/08/07
  118. This minor feature release provides extra parameters for new configuration
  119. items available in PuppetDB 1.4, and also provides some older parameters
  120. that were missed previously:
  121. * gc_interval
  122. * log_slow_statements
  123. * conn_max_age
  124. * conn_keep_alive
  125. * conn_lifetime
  126. Consult the README.md file, or the PuppetDB documentation for more details.
  127. ------------------------------------------
  128. #### 1.5.0 - 2013/07/18
  129. This minor feature release provides the following new functionality:
  130. * The module is now capable of managing PuppetDB on SUSE systems
  131. for which PuppetDB packages are available
  132. * The ruby code for validating the PuppetDB connection now
  133. supports validating on a non-SSL HTTP port.
  134. ------------------------------------------
  135. #### 1.4.0 - 2013/05/13
  136. This feature release provides support for managing the puppetdb report
  137. processor on your master.
  138. To enable the report processor, you can do something like this:
  139. class { 'puppetdb::master::config':
  140. manage_report_processor => true,
  141. enable_reports => true
  142. }
  143. This will add the 'puppetdb' report processor to the list of `reports`
  144. inside your master's `puppet.conf` file.
  145. ------------------------------------------
  146. #### 1.3.0 - 2013/05/13
  147. This feature release provides us with a few new features for the PuppetDB
  148. module.
  149. You can now disable SSL when using the `puppetdb` class by using the new
  150. parameter `disable_ssl`:
  151. class { 'puppetdb':
  152. disable_ssl => true,
  153. }
  154. This will remove the SSL settings from your `jetty.ini` configuration file
  155. disabling any SSL communication. This is useful when you want to offload SSL
  156. to another web server, such as Apache or Nginx.
  157. We have now added an option `java_args` for passing in Java options to
  158. PuppetDB. The format is a hash that is passed in when declaring the use of the
  159. `puppetdb` class:
  160. class { 'puppetdb':
  161. java_args => {
  162. '-Xmx' => '512m',
  163. '-Xms' => '256m',
  164. }
  165. }
  166. Also, the default `report-ttl` was set to `14d` in PuppetDB to align it with an
  167. upcoming PE release, so we've also reflected that default here now.
  168. And finally we've fixed the issue whereby the options `report_ttl`, `node_ttl`,
  169. `node_purge_ttl` and `gc_interval` were not making the correct changes. On top
  170. of that you can now set these values to zero in the module, and the correct
  171. time modifier (`s`, `m`, `h` etc.) will automatically get applied for you.
  172. Behind the scenes we've also added system and unit testing, which was
  173. previously non-existent. This should help us reduce regression going forward.
  174. Thanks to all the contributing developers in the list below that made this
  175. release possible :-).
  176. #### Changes
  177. * Allows for 0 _ttl's without time signifier and enables tests (Garrett Honeycutt)
  178. * Add option to disable SSL in Jetty, including tests and documentation (Christian Berg)
  179. * Cleaned up ghoneycutt's code a tad (Ken Barber)
  180. * the new settings report_ttl, node_ttl and node_purge_ttl were added but they are not working, this fixes it (fsalum)
  181. * Also fix gc_interval (Ken Barber)
  182. * Support for remote puppetdb (Filip Hrbek)
  183. * Added support for Java VM options (Karel Brezina)
  184. * Add initial rspec-system tests and scaffolding (Ken Barber)
  185. ------------------------------------------
  186. #### 1.2.1 - 2013/04/08
  187. This is a minor bugfix that solves the PuppetDB startup exception:
  188. java.lang.AssertionError: Assert failed: (string? s)
  189. This was due to the default `node-ttl` and `node-purge-ttl` settings not having a time suffix by default. These settings required 's', 'm', 'd' etc. to be suffixed, even if they are zero.
  190. #### Changes
  191. * (Ken Barber) Add 's' suffix to period settings to avoid exceptions in PuppetDB
  192. ------------------------------------------
  193. #### 1.2.0 - 2013/04/05
  194. This release is primarily about providing full configuration file support in the module for PuppetDB 1.2.0. (The alignment of version is a coincidence I assure you :-).
  195. This feature release adds the following new configuration parameters to the main `puppetdb` class:
  196. * node_ttl
  197. * node_purge_ttl (available in >=1.2.0)
  198. * report_ttl
  199. Consult the README for futher details about these new configurable items.
  200. ##### Changes
  201. * (Nick Lewis) Add params and ini settings for node/purge/report ttls and document them
  202. ------------------------------------------
  203. 1.1.5
  204. =====
  205. 2013-02-13 - Karel Brezina
  206. * Fix database creation so database_username, database_password and
  207. database_name are correctly passed during database creation.
  208. 2013-01-29 - Lauren Rother
  209. * Change README to conform to new style and various other README improvements
  210. 2013-01-17 - Chris Price
  211. * Improve documentation in init.pp
  212. ------------------------------------------
  213. 1.1.4
  214. =====
  215. This is a bugfix release, mostly around fixing backward-compatibility for the
  216. deprecated `manage_redhat_firewall` parameter. It wasn't actually entirely
  217. backwards-compatible in the 1.1.3 release.
  218. 2013-01-17 - Chris Price <chris@puppetlabs.com>
  219. * Fix backward compatibility of `manage_redhat_firewall` parameter (de20b44)
  220. 2013-01-16 - Chris Price <chris@puppetlabs.com>
  221. * Fix deprecation warnings around manage_redhat_firewall (448f8bc)
  222. ------------------------------------------
  223. 1.1.3
  224. =====
  225. This is mostly a maintenance release, to update the module dependencies to newer
  226. versions in preparation for some new features. This release does include some nice
  227. additions around the ability to set the listen address for the HTTP port on Jetty
  228. and manage the firewall for that port. Thanks very much to Drew Blessing for those
  229. submissions!
  230. 2013-01-15 - Chris Price <chris@puppetlabs.com>
  231. * Update Modulefile for 1.1.3 release (updates dependencies
  232. on postgres and inifile modules to the latest versions) (76bfd9e)
  233. 2012-12-19 - Garrett Honeycutt <garrett@puppetlabs.com>
  234. * (#18228) updates README for style (fd2e990)
  235. 2012-11-29 - Drew Blessing <Drew.Blessing@Buckle.com>
  236. * 17594 - Fixes suggested by cprice-puppet (0cf9632)
  237. 2012-11-14 - Drew Blessing <Drew.Blessing@Buckle.com>
  238. * Adjust examples in tests to include new port params (0afc276)
  239. 2012-11-13 - Drew Blessing <Drew.Blessing@Buckle.com>
  240. * 17594 - PuppetDB - Add ability to set standard host listen address and open firewall
  241. ------------------------------------------
  242. 1.1.2
  243. =====
  244. 2012-10-26 - Chris Price <chris@puppetlabs.com> (1.1.2)
  245. * 1.1.2 release
  246. 2012-10-26 - Chris Price <chris@puppetlabs.com>
  247. * Add some more missing `inherit`s for `puppetdb::params` (a72cc7c)
  248. 2012-10-26 - Chris Price <chris@puppetlabs.com> (1.1.2)
  249. * 1.1.1 release
  250. 2012-10-26 - Chris Price <chris@puppetlabs.com> (1.1.1)
  251. * Add missing `inherit` for `puppetdb::params` (ea9b379)
  252. 2012-10-24 - Chris Price <chris@puppetlabs.com>
  253. * 1.1.0 release
  254. 2012-10-24 - Chris Price <chris@puppetlabs.com> (1.1.0)
  255. * Update postgres dependency to puppetlabs/postgresql (bea79b4)
  256. 2012-10-17 - Reid Vandewiele <reid@puppetlabs.com> (1.1.0)
  257. * Fix embedded db setup in Puppet Enterprise (bf0ab45)
  258. 2012-10-17 - Chris Price <chris@puppetlabs.com> (1.1.0)
  259. * Update manifests/master/config.pp (b119a30)
  260. 2012-10-16 - Chris Price <chris@puppetlabs.com> (1.1.0)
  261. * Make puppetdb startup timeout configurable (783b595)
  262. 2012-10-01 - Hunter Haugen <h.haugen@gmail.com> (1.1.0)
  263. * Add condition to detect PE installations and provide different parameters (63f1c52)
  264. 2012-10-01 - Hunter Haugen <h.haugen@gmail.com> (1.1.0)
  265. * Add example manifest code for pe puppet master (a598edc)
  266. 2012-10-01 - Chris Price <chris@puppetlabs.com> (1.1.0)
  267. * Update comments and docs w/rt PE params (b5df5d9)
  268. 2012-10-01 - Hunter Haugen <h.haugen@gmail.com> (1.1.0)
  269. * Adding pe_puppetdb tests class (850e039)
  270. 2012-09-28 - Hunter Haugen <h.haugen@gmail.com> (1.1.0)
  271. * Add parameters to enable usage of enterprise versions of PuppetDB (df6f7cc)
  272. 2012-09-23 - Chris Price <chris@puppetlabs.com>
  273. * 1.0.3 release
  274. 2012-09-23 - Chris Price <chris@puppetlabs.com>
  275. * Add a parameter for restarting puppet master (179b337)
  276. 2012-09-21 - Chris Price <chris@puppetlabs.com>
  277. * 1.0.2 release
  278. 2012-09-21 - Chris Price <chris@puppetlabs.com>
  279. * Pass 'manage_redhat_firewall' param through to postgres (f21740b)
  280. 2012-09-20 - Chris Price <chris@puppetlabs.com>
  281. * 1.0.1 release
  282. 2012-09-20 - Garrett Honeycutt <garrett@puppetlabs.com>
  283. * complies with style guide (1aab5d9)
  284. 2012-09-19 - Chris Price <chris@puppetlabs.com>
  285. * Fix invalid subname in database.ini (be683b7)
  286. 2011-09-18 Chris Price <chris@puppetlabs.com> - 1.0.0
  287. * Initial 1.0.0 release