Even using the “embedded” database is apparently useless, as puppet is still not able to connect to puppetdb.
In addition, puppetdb is very obviously not creating it’s firewall rules even though I haven’t disabled that feature. Does anyone have an example of this module actually working? It’s hard to imagine a more simple setup than the one I have right here, but this module is not working or giving me any reasons why it’s not working. PuppetDB is just failing completely, and with all the default settings. Rob > On May 28, 2015, at 12:43 PM, Robert Hafner <[email protected]> wrote: > > > Using the documented "database_validation" option to disable database > validation also fails, but in a different way: > > class profiles::puppetdb { > > class { '::puppetdb': > > database_validate => false > > } > > } > > > > Results in: > > > Error: Failed to apply catalog: Could not find dependent > > Class[Puppetdb::Server::Validate_db] for > > Class[Puppetdb::Database::Postgresql] at > > /etc/puppet/modules/puppetdb/manifests/init.pp:133 > > Looking at the code in the puppetdb module I'm not even sure if the > 'database_validate = false ' option ever worked as advertised. > > > > > On Thursday, May 28, 2015 at 12:31:29 PM UTC-7, Robert Hafner wrote: > > 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 a topic in the Google > Groups "Puppet Users" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/puppet-users/VVKZhUanAlk/unsubscribe > <https://groups.google.com/d/topic/puppet-users/VVKZhUanAlk/unsubscribe>. > To unsubscribe from this group and all its topics, send an email to > [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/puppet-users/afa578b8-902b-4d62-93a4-79fc3081ed6d%40googlegroups.com > > <https://groups.google.com/d/msgid/puppet-users/afa578b8-902b-4d62-93a4-79fc3081ed6d%40googlegroups.com?utm_medium=email&utm_source=footer>. > For more options, visit https://groups.google.com/d/optout > <https://groups.google.com/d/optout>. -- 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/90DB865F-EC06-4583-9B19-0FF4A6D18A9B%40tedivm.com. For more options, visit https://groups.google.com/d/optout.
