reverting path on exec

This commit is contained in:
fiddyspence 2013-07-23 13:08:54 +01:00
parent 2eb03efc29
commit 82d79dd21a

View file

@ -39,7 +39,7 @@ class postgresql::config::afterservice(
# the password is correct (current), this command will exit with an exit code of 0,
# which will prevent the main command from running.
unless => "env PGPASSWORD=\"${postgres_password}\" psql -h localhost -c 'select 1' > /dev/null",
path => '/usr/bin:/usr/local/bin:/bin:/opt/puppet/bin',
path => '/usr/bin:/usr/local/bin:/bin',
}
}
}