camptocamp/puppet-postgresql — pull request #27 by dbroeglin (2012-03-19 08:19:21+00:00)
Title: Adding -f option to zcat to allow using non compressed sql init files

The following statement:

postgresql::database {
"radius":
ensure => present,
owner => admin,
encoding => "UTF8",
source => "/foo/bar/radius.sql"
}

would silently fail because zcat is used to read radius.sql. Adding the -f argument to zcat allows to read non gzipped files without failing.