use my changes to puppetlabs-postgresql
remove postgresql::server requirement.
doc
add config params.
complete rework.