module-postgresql/tests
Ken Barber 86a0453f2f Provide new defined resources for managing pg_hba.conf
This patch provides a more advanced way of managing pg_hba rules, by providing a
defined resource to manage a pg_hba file, and a defined resource for managing
rules within such a file (pg_hba_rule).

These new resources are wrappers around ripinaar-concat, and utilise file
assemblies instead of a template to compose the pg_hba.conf file.

I've provided a function that interprets the old ip4|6acl arrays and converts
them to this new format for backwards compatibility as well.

I slightly reformatted our documentation to allow for better documentation of
defined resources in 'Usage' as well, and provided examples of how to use this
new resource.

This hopefully should go a long way to solving the PR's related to lack of full
functionality for pg_hba.conf.

Signed-off-by: Ken Barber <ken@bob.sh>
2013-02-12 00:34:42 +00:00
..
init.pp Update uses of 'postgresql' to 'postgresql::client' 2013-01-11 14:26:27 -08:00
official-postgresql-repos.pp Coding style fixes 2013-02-06 18:51:58 +01:00
postgresql_database.pp Puppet lint fixes 2012-11-03 02:37:20 +00:00
postgresql_db.pp Puppet lint fixes 2012-11-03 02:37:20 +00:00
postgresql_grant.pp Bring database, database_user, and database_grant into alignment with mysql module 2012-06-08 22:30:27 -07:00
postgresql_pg_hba_rule.pp Provide new defined resources for managing pg_hba.conf 2013-02-12 00:34:42 +00:00
postgresql_pgconf_extras.pp Coding style fixes 2013-02-06 18:51:58 +01:00
postgresql_tablespace.pp Coding style fixes 2013-02-06 18:51:58 +01:00
postgresql_user.pp Puppet lint fixes 2012-11-03 02:37:20 +00:00
server.pp Puppet lint fixes 2012-11-03 02:37:20 +00:00