reverting path on exec
This commit is contained in:
parent
2eb03efc29
commit
82d79dd21a
1 changed files with 1 additions and 1 deletions
|
@ -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',
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue