Switch to puppetlabs postgresql.