While running puppet agent, I am getting following error. Can someone help 
me understand what might be wrong.

Warning: Exec[validate postgres connection for /postgres](provider=posix): 
Cannot understand environment setting "PGPASSWORD="
Warning: Exec[validate postgres connection for /postgres](provider=posix): 
Cannot understand environment setting "PGPASSWORD="
Notice: 
/Stage[main]/Postgresql::Server::Service/Postgresql::Validate_db_connection[validate_service_is_running]/Exec[validate
 
postgres connection for /postgres]/returns: Unable to connect to defined 
database using: /usr/bin/psql --tuples-only --quiet -h  -U  -p  --dbname 
postgres 
Error: echo 'Unable to connect to defined database using: /usr/bin/psql 
--tuples-only --quiet -h  -U  -p  --dbname postgres ' && false returned 1 
instead of one of [0]
Error: 
/Stage[main]/Postgresql::Server::Service/Postgresql::Validate_db_connection[validate_service_is_running]/Exec[validate
 
postgres connection for /postgres]/returns: change from notrun to 0 failed: 
echo 'Unable to connect to defined database using: /usr/bin/psql 
--tuples-only --quiet -h  -U  -p  --dbname postgres ' && false returned 1 
instead of one of [0]

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/d4866842-9ae8-4ade-89c9-34aa9e82e074%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to