162 lines
5.7 KiB
Text
162 lines
5.7 KiB
Text
|
2.1.0
|
||
|
=====
|
||
|
|
||
|
This release is primarily a feature release, introducing some new helpful constructs to the module.
|
||
|
|
||
|
For starters, we've added the line `include 'postgresql_conf_extras.conf'` by default so extra parameters not managed by the module can be added by other tooling or by Puppet itself. This provides a useful escape-hatch for managing settings that are not currently managed by the module today.
|
||
|
|
||
|
We've added a new defined resource for managing your tablespace, so you can now create new tablespaces using the syntax:
|
||
|
|
||
|
postgresql::tablespace { 'dbspace':
|
||
|
location => '/srv/dbspace',
|
||
|
}
|
||
|
|
||
|
We've added a locale parameter to the `postgresql` class, to provide a default. Also the parameter has been added to the `postgresql::database` and `postgresql::db` defined resources for changing the locale per database:
|
||
|
|
||
|
postgresql::db { 'mydatabase':
|
||
|
user => 'myuser',
|
||
|
password => 'mypassword',
|
||
|
encoding => 'UTF8',
|
||
|
locale => 'en_NG',
|
||
|
}
|
||
|
|
||
|
There is a new class for installing the necessary packages to provide the PostgreSQL JDBC client jars:
|
||
|
|
||
|
class { 'postgresql::java': }
|
||
|
|
||
|
And we have a brand new defined resource for managing fine-grained rule sets within your pg_hba.conf access lists:
|
||
|
|
||
|
postgresql::pg_hba { 'Open up postgresql for access from 200.1.2.0/24':
|
||
|
type => 'host',
|
||
|
database => 'app',
|
||
|
user => 'app',
|
||
|
address => '200.1.2.0/24',
|
||
|
auth_method => 'md5',
|
||
|
}
|
||
|
|
||
|
Finally, we've also added Travis-CI support and unit tests to help us iterate faster with tests to reduce regression. The current URL for these tests is here: https://travis-ci.org/puppetlabs/puppet-postgresql. Instructions on how to run the unit tests available are provided in the README for the module.
|
||
|
|
||
|
A big thanks to all those listed below who made this feature release possible :-).
|
||
|
|
||
|
#### Detailed Changes
|
||
|
|
||
|
2013-01-18 - Simão Fontes <simaofontes@gmail.com> & Flaper Fesp <flaper87@gmail.com>
|
||
|
* Remove trailing commas from params.pp property definition for Puppet 2.6.0 compatibility
|
||
|
|
||
|
2013-01-18 - Lauren Rother <lauren.rother@puppetlabs.com>
|
||
|
* Updated README.md to conform with best practices template
|
||
|
|
||
|
2013-01-09 - Adrien Thebo <git@somethingsinistral.net>
|
||
|
* Update postgresql_default_version to 9.1 for Debian 7.0
|
||
|
|
||
|
2013-01-28 - Karel Brezina <karel.brezina@gmail.com>
|
||
|
* Add support for tablespaces
|
||
|
|
||
|
2013-01-16 - Chris Price <chris@puppetlabs.com> & Karel Brezina <karel.brezina@gmail.com>
|
||
|
* Provide support for an 'include' config file 'postgresql_conf_extras.conf' that users can modify manually or outside of the module.
|
||
|
|
||
|
2013-01-31 - jv <jeff@jeffvier.com>
|
||
|
* Fix typo in README.pp for postgresql::db example
|
||
|
|
||
|
2013-02-03 - Ken Barber <ken@bob.sh>
|
||
|
* Add unit tests and travis-ci support
|
||
|
|
||
|
2013-02-02 - Ken Barber <ken@bob.sh>
|
||
|
* Add locale parameter support to the 'postgresql' class
|
||
|
|
||
|
2013-01-21 - Michael Arnold <github@razorsedge.org>
|
||
|
* Add a class for install the packages containing the PostgreSQL JDBC jar
|
||
|
|
||
|
2013-02-06 - fhrbek <filip.hbrek@gmail.com>
|
||
|
* Coding style fixes to reduce warnings in puppet-lint and Geppetto
|
||
|
|
||
|
2013-02-10 - Ken Barber <ken@bob.sh>
|
||
|
* Provide new defined resource for managing pg_hba.conf
|
||
|
|
||
|
2013-02-11 - Ken Barber <ken@bob.sh>
|
||
|
* Fix bug with reload of Postgresql on Redhat/Centos
|
||
|
|
||
|
2013-02-15 - Erik Dalén <dalen@spotify.com>
|
||
|
* Fix more style issues to reduce warnings in puppet-lint and Geppetto
|
||
|
|
||
|
2013-02-15 - Erik Dalén <dalen@spotify.com>
|
||
|
* Fix case whereby we were modifying a hash after creation
|
||
|
|
||
|
2.0.1
|
||
|
=====
|
||
|
|
||
|
Minor bugfix release.
|
||
|
|
||
|
2013-01-16 - Chris Price <chris@puppetlabs.com>
|
||
|
* Fix revoke command in database.pp to support postgres 8.1 (43ded42)
|
||
|
|
||
|
2013-01-15 - Jordi Boggiano <j.boggiano@seld.be>
|
||
|
* Add support for ubuntu 12.10 status (3504405)
|
||
|
|
||
|
2.0.0
|
||
|
=====
|
||
|
|
||
|
Many thanks to the following people who contributed patches to this
|
||
|
release:
|
||
|
|
||
|
* Adrien Thebo
|
||
|
* Albert Koch
|
||
|
* Andreas Ntaflos
|
||
|
* Brett Porter
|
||
|
* Chris Price
|
||
|
* dharwood
|
||
|
* Etienne Pelletier
|
||
|
* Florin Broasca
|
||
|
* Henrik
|
||
|
* Hunter Haugen
|
||
|
* Jari Bakken
|
||
|
* Jordi Boggiano
|
||
|
* Ken Barber
|
||
|
* nzakaria
|
||
|
* Richard Arends
|
||
|
* Spenser Gilliland
|
||
|
* stormcrow
|
||
|
* William Van Hevelingen
|
||
|
|
||
|
Notable features:
|
||
|
|
||
|
* Add support for versions of postgres other than the system default version
|
||
|
(which varies depending on OS distro). This includes optional support for
|
||
|
automatically managing the package repo for the "official" postgres yum/apt
|
||
|
repos. (Major thanks to Etienne Pelletier <epelletier@maestrodev.com> and
|
||
|
Ken Barber <ken@bob.sh> for their tireless efforts and patience on this
|
||
|
feature set!) For example usage see `tests/official-postgresql-repos.pp`.
|
||
|
|
||
|
* Add some support for Debian Wheezy and Ubuntu Quantal
|
||
|
|
||
|
* Add new `postgres_psql` type with a Ruby provider, to replace the old
|
||
|
exec-based `psql` type. This gives us much more flexibility around
|
||
|
executing SQL statements and controlling their logging / reports output.
|
||
|
|
||
|
* Major refactor of the "spec" tests--which are actually more like
|
||
|
acceptance tests. We now support testing against multiple OS distros
|
||
|
via vagrant, and the framework is in place to allow us to very easily add
|
||
|
more distros. Currently testing against Cent6 and Ubuntu 10.04.
|
||
|
|
||
|
* Fixed a bug that was preventing multiple databases from being owned by the
|
||
|
same user
|
||
|
(9adcd182f820101f5e4891b9f2ff6278dfad495c - Etienne Pelletier <epelletier@maestrodev.com>)
|
||
|
|
||
|
* Add support for ACLs for finer-grained control of user/interface access
|
||
|
(b8389d19ad78b4fb66024897097b4ed7db241930 - dharwood <harwoodd@cat.pdx.edu>)
|
||
|
|
||
|
* Many other bug fixes and improvements!
|
||
|
|
||
|
|
||
|
1.0.0
|
||
|
=====
|
||
|
2012-09-17 - Version 0.3.0 released
|
||
|
|
||
|
2012-09-14 - Chris Price <chris@puppetlabs.com>
|
||
|
* Add a type for validating a postgres connection (ce4a049)
|
||
|
|
||
|
2012-08-25 - Jari Bakken <jari.bakken@gmail.com>
|
||
|
* Remove trailing commas. (e6af5e5)
|
||
|
|
||
|
2012-08-16 - Version 0.2.0 released
|