Use Package['postgresql-server'] instead of Package['postgresql'] like in puppetlabs module
Merge pull request #12 from mcanevet/use_package_postgresql-server

Use Package['postgresql-server'] instead of Package['postgresql'] like i...