changes to fix compatibility with puppetlabas/postgres module