Allow SQL commands to be run against a specific DB

If resource[:db] is set, then it is sent to psql. 

Otherwise, argument is omitted and should not introduce any regression.
Merge pull request #134 from cv/patch-1

Allow SQL commands to be run against a specific DB
Create dependent directory for sudoers so tests work on Centos 5

Signed-off-by: Ken Barber <ken@bob.sh>
Generalization to provide more flexibility in postgresql configuration
Cleaned up and added unit tests

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

Ticket/master/128 provide more custom parameters for custom packaging
Merge pull request #137 from kbarber/maint/master/create_sudoers_for_centos5

Create dependent directory for sudoers so tests work on Centos 5
Add support for the REPLICATION flag when creating roles
Add documentation for replication flag for postgresql::role

Signed-off-by: Ken Barber <ken@bob.sh>
Merge branch 'replication_support'

* replication_support:
  Add documentation for replication flag for postgresql::role
  Add support for the REPLICATION flag when creating roles
Fix versions for travis-ci

This fixes some mistakes in the .travis.yml file:

* Corrects matches so the minor gem revisions get rounded, this means 2.6.0
  for example is used.
* Adds Ruby 2.0.0 tests
* Allows 2.6.0 to fail for now, as it doesn't have create_resources.
* Removes trailing commas and arrays in functions for 2.6.0.

Signed-off-by: Ken Barber <ken@bob.sh>
Merge pull request #140 from kbarber/maint/master/fix_travis_gem_versions

Fix versions for travis-ci