Hi,

I have a foreman/puppet installation (done with foreman-installer) running 
on ubuntu 14.
I was using it for a while already, with about 40 hosts, using the 
'role/profile' approach to classify the nodes.

Which means that I have only one role per node, and the role calls 
different profiles.
Many things are configured via yaml.

I want to add icinga/nagios module but I need storeconfigs for that. So, I 
installed puppetdb on another host, configured the following files on the 
puppet server:

routes.yaml:
---
master:
  facts:
    terminus: puppetdb
    cache: yaml

puppetdb.conf:
[main]
port = 8081
soft_write_failure = false
server = puppetdb.server

and added to puppet.conf:
    storeconfigs   = true
    thin_storeconifgs = false
    storeconfigs_backend = puppetdb


After restarting apache and running puppet agent -t I got:
Info: Retrieving pluginfacts
Info: Retrieving plugin
Info: Loading facts
Error: Could not retrieve catalog from remote server: Error 400 on SERVER: 
Invalid relationship: Apt::Source[puppetlabs] { notify => 
Class[apt::update] }, because Class[apt::update] doesn't seem to be in the 
catalog
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

Doing a 'select * from catalogs;' on the puppetdb database returns an empty 
set.

Any ideas on what could be wrong?

thanks!

-- 
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/9d66b610-f966-4fe1-8ff3-dff644bda6c5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to