Add support for istemplate parameter where creating db
Fix rspec-system
Add support for installing PL/Perl
Document istemplate parameter
Add missing manifests/plperl.pp file
Use $::operatingsystemrelease instead of $::lsbmajdistrelease
Set plperl_package_name to postgresql-plperl on every RedHat family OS except RHEL5
Test plperl only on non standard installation as it does not work on redhat5
Merge pull request #205 from mcanevet/plperl

Add support for installing PL/Perl
Merge pull request #204 from mcanevet/set_istemplate

Add support for istemplate parameter where creating db
Release 2.4.0

Summary
-------
This updates adds the ability to change permissions on tables, create
template databases from normal databases, manage PL-Perl's postgres
package, and disable the management of `pg_hba.conf`.

Features
--------
- Add `postgresql::table_grant` defined resource
- Add `postgresql::plperl` class
- Add `manage_pg_hba_conf` parameter to the `postgresql::config` class
- Add `istemplate` parameter to the `postgresql::database` define

Bugfixes
--------
- Update `postgresql::role` class to be able to update roles when
  modified instead of only on creation.
- Update tests
- Fix documentation of `postgresql::database_grant`
Merge pull request #213 from hunner/release_2.4.0

Release 2.4.0
Alter escaping in postgresql::config::afterservice

This allows non-standard users (pe-postgres) to change passwords. Also
added a function to do escaping of the password, added system tests
and rspec tests for the function.
reverting path on exec
amending the unless on the exec for quoting also
modified tests
(GH-216) Alter role call not idempotent with cleartext passwords

The postgresql::role defined type was not idempotent when passed cleartext
passwords. This is because we were comparing it with its md5 equivalent in
the db.

This patch converts any cleartext passwords to md5 before comparison, but
only if they are cleartext (ie. not starting with md5).

I also bumped the version of rspec-system-puppet to get use of the refresh
method, plus did some cleanup because the old tests were a bit dusty, again
taking advantage of refresh plus changing some matchers for clarity.

Signed-off-by: Ken Barber <ken@bob.sh>
Merge pull request #225 from kbarber/ticket/master/GH-216-alter-role-not-idempotent

(GH-216) Alter role call not idempotent with cleartext passwords
Release 2.4.1

This updates the Modulefile and Changelog for release 2.4.1.

Signed-off-by: Ken Barber <ken@bob.sh>
Merge pull request #228 from kbarber/release-241

Release 2.4.1