changed validate_db_connection.pp
Merge pull request #58 from Mosibi/master

Turn the exec in validate_db_connection.pp around
Fix inherits issue with validate_db_connection

Previously the validate_db_connection defined type was trying to use inherits
like a class. This of course would fail.

After analyzing its usage, I've removed the need for the top-level params
inherit by just including the 'postgresql' module which pulls in the client
package and the params class as well. It also avoids resource duplication
for the client package as well.

To ensure we don't get regression on this I've added system tests that test
this defined type in a success and failure state.

Signed-off-by: Ken Barber <ken@bob.sh>
Merge pull request #62 from kbarber/ticket/master/fix_inherits_and_test_validate_db_connection

Fix inherits issue with validate_db_connection
Update the base class to accept `version` parameter
Add remaining params to init.pp, and update tests
Update uses of 'postgresql' to 'postgresql::client'
Provide version for ubuntu 12.10
Merge pull request #69 from Seldaek/patch-1

Provide version for ubuntu 12.10
Clean up docs for base class (init.pp)
updating the switch statement looking at osfamily
Updating params.

The OS Family for Amazon Linux is "Linux", and $::operatingsystem is
"Amazon".
data dirs on amazon differ
Merge pull request #39 from haf/amz-linux

Amz linux
Merge pull request #66 from cprice-puppet/maint/master/allow-version-param-in-main-init

Change API to expose non-default pg version support via main type
Fix merge issue from AMZ linux patch
Merge pull request #70 from cprice-puppet/bug/master/amz-linux-patch-cleanup

Fix merge issue from AMZ linux patch
Manage official postgres apt repo

Previously we hadn't supported using the official PostgreSQL repos for deb-based
packaging. This commit fixes that by introducing the management of the apt
repositories on the host as required, and using the correct package and service
name.

Signed-off-by: Ken Barber <ken@bob.sh>
Fix examples for specifying usage of official postgresql repos

This changes the wording and name of the example for using
yum|apt.postgresql.org as the source of your packages.

Signed-off-by: Ken Barber <ken@bob.sh>
Merge pull request #75 from cprice-puppet/kbarber-ticket/master/manage_postgres_apt_repo

Kbarber ticket/master/manage postgres apt repo