Merge pull request #175 from kbarber/release_220

Release 2.2.0
This commit is contained in:
Chris Price 2013-04-26 09:24:49 -07:00
commit f1c87046be
3 changed files with 48 additions and 3 deletions

View file

@ -1,3 +1,38 @@
2.2.0
=====
This feature release introduces a number of new features and bug fixes.
First of all it includes a new class named `postgresql::python` which provides you with a convenient way of install the python Postgresql client libraries.
class { 'postgresql::python':
}
You are now able to use `postgresql::database_user` without having to specify a password_hash, useful for different authentication mechanisms that do not need passwords (ie. cert, local etc.).
We've also provided a lot more advanced custom parameters now for greater control of your Postgresql installation. Consult the class documentation for PuppetDB in the README.
This release in particular has largely been contributed by the community members below, a big thanks to one and all.
#### Detailed Changes
* Add support for psycopg installation (Flaper Fesp and Dan Prince)
* Added default PostgreSQL version for Ubuntu 13.04 (Kamil Szymanski)
* Add ability to create users without a password (Bruno Harbulot)
* Three Puppet 2.6 fixes (Dominic Cleal)
* Add explicit call to concat::setup when creating concat file (Dominic Cleal)
* Fix readme typo (Jordi Boggiano)
* Update postgres_default_version for Ubuntu (Kamil Szymanski)
* Allow to set connection for noew role (Kamil Szymanski)
* Fix pg_hba_rule for postgres local access (Kamil Szymanski)
* Fix versions for travis-ci (Ken Barber)
* Add replication support (Jordi Boggiano)
* Cleaned up and added unit tests (Ken Barber)
* Generalization to provide more flexability in postgresql configuration (Karel Brezina)
* Create dependent directory for sudoers so tests work on Centos 5 (Ken Barber)
* Allow SQL commands to be run against a specific DB (Carlos Villela)
* Drop trailing comma to support Puppet 2.6 (Michael Arnold)
2.1.1
=====
@ -60,7 +95,7 @@ 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
* 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

View file

@ -1,5 +1,5 @@
name 'puppetlabs-postgresql'
version '2.1.1'
version '2.2.0'
source 'git://github.com/puppetlabs/puppet-postgresql.git'
author 'Inkling/Puppet Labs'
description 'PostgreSQL defined resource types'

View file

@ -119,6 +119,7 @@ Classes:
* [postgresql::contrib](#class-postgresqlcontrib)
* [postgresql::devel](#class-postgresqldevel)
* [postgresql::java](#class-postgresqljava)
* [postgresql::python](#class-postgresqlpython)
Resources:
@ -268,6 +269,15 @@ The name of the postgresql java package.
####`package_ensure`
The ensure parameter passed on to postgresql java package resource.
###Class: postgresql::python
This class installs the postgresql Python libraries. For customer requirements you can customise the following parameters:
####`package_name`
The name of the postgresql python package.
####`package_ensure`
The ensure parameter passed on to postgresql python package resource.
###Resource: postgresql::db
This is a convenience resource that creates a database, user and assigns necessary permissions in one go.
@ -412,7 +422,7 @@ The name of the database you wish to test.
Username to connect with.
####`database_password`
Password to connect with.
Password to connect with. Can be left blank, but that is not recommended.
###Resource: postgresql::pg\_hba\_rule
This defined type allows you to create an access rule for `pg_hba.conf`. For more details see the [PostgreSQL documentation](http://www.postgresql.org/docs/8.2/static/auth-pg-hba-conf.html).