Skip to content

Commit 7a11366

Browse files
committed
Merge pull request puppetlabs#151 from antaflos/psql_cwd
Set /tmp as default CWD for postgresql_psql
2 parents f1c8704 + 5f7087e commit 7a11366

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/puppet/type/postgresql_psql.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ def sync(refreshing = false)
6666

6767
newparam(:cwd, :parent => Puppet::Parameter::Path) do
6868
desc "The working directory under which the psql command should be executed."
69+
defaultto("/tmp")
6970
end
7071

7172
newparam(:refreshonly) do

0 commit comments

Comments
 (0)