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
Add README entry for postgresql::plperl
Fix postgresql::plperl documentation
Merge pull request #229 from mcanevet/plperl

Add README entry for postgresql::plperl
Merge pull request #218 from fiddyspence/set_postgres_postgrespw

Alter escaping in postgresql::config::afterservice