Skip to content

Instantly share code, notes, and snippets.

@frozenfoxx
Created October 8, 2013 23:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save frozenfoxx/6893415 to your computer and use it in GitHub Desktop.
Save frozenfoxx/6893415 to your computer and use it in GitHub Desktop.
Debug: Executing '/usr/bin/psql -d postgres -t -c SELECT COUNT(*) FROM (SELECT 1 WHERE has_database_privilege('puppetdb', 'puppetdb', 'CREATE')) count'
Debug: Exec[validate postgres connection for puppetdb.somecompany.local/puppetdb](provider=posix): Executing check '/bin/echo "SELECT 1" | /usr/bin/psql --tuples-only --quiet -h puppetdb.somecompany.local -U puppetdb -p 5432 --dbname puppetdb'
Debug: Executing '/bin/echo "SELECT 1" | /usr/bin/psql --tuples-only --quiet -h puppetdb.somecompany.local -U puppetdb -p 5432 --dbname puppetdb'
Debug: /Stage[main]/Puppetdb::Server::Validate_db/Postgresql::Validate_db_connection[validate puppetdb postgres connection]/Exec[validate postgres connection for puppetdb.somecompany.local/puppetdb]/unless: psql: could not connect to server: Connection refused
Debug: /Stage[main]/Puppetdb::Server::Validate_db/Postgresql::Validate_db_connection[validate puppetdb postgres connection]/Exec[validate postgres connection for puppetdb.somecompany.local/puppetdb]/unless: Is the server running on host "puppetdb.somecompany.local" and accepting
Debug: /Stage[main]/Puppetdb::Server::Validate_db/Postgresql::Validate_db_connection[validate puppetdb postgres connection]/Exec[validate postgres connection for puppetdb.somecompany.local/puppetdb]/unless: TCP/IP connections on port 5432?
Debug: Exec[validate postgres connection for puppetdb.somecompany.local/puppetdb](provider=posix): Executing '/bin/false'
Debug: Executing '/bin/false'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment