I'm creating a puppetdb machine using puppetdb module. My code is simple:

> class profiles::puppetdb {
>   class { '::puppetdb':
>
>   }
> }


This, unfortunately, fails with the following error:

> Debug: Executing '/usr/local/bin/validate_postgresql_connection.sh 2 10 
'/usr/bin/psql --tuples-only --quiet  -h localhost  -U puppetdb  -p 5432  
--dbname puppetdb ''

> Error: 
/Stage[main]/Puppetdb::Server::Validate_db/Postgresql::Validate_db_connection[validate
 
puppetdb postgres connection]/Exec[validate postgres connection for 
puppetdb@localhost:5432/puppetdb]/unless: Check 
"/usr/local/bin/validate_postgresql_connection.sh 2 10 '/usr/bin/psql 
--tuples-only --quiet  -h localhost  -U puppetdb  -p 5432  --dbname 
puppetdb '" exceeded timeout


I'm a bit at a loss as to what to do here, as there's nothing in the logs 
that can tell me why I'm getting this error.


Robert

-- 
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 puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/5e3e4726-7abe-4e7f-baaa-d1f08cad5f6e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to