puppetlabs/puppetlabs-postgresql — pull request #527 by kimor79 (2014-11-05 21:45:46+00:00)
Title: Add onlyif option to postgresql_psql type

This adds an onlyif option to the postgresql_psql type to allow for commands to only run if the onlyif command succeeds. The primary use case being to only add a table grant if the table exists (if for example, the tables are managed outside of puppet but the grants are managed within puppet).