Multiple environments in foreman/puppet

OK,

I have a production environment and a legacy environment defined and
recognized by foreman. If fact when I imported the legacy environment into
foreman it found and imported the few classes that exist in the legacy
environment.

In spite of all that when I run the puppet agent on one of the hosts it
does not see the classes. Error I get is thus:

Error: Could not retrieve catalog from remote server: Error 400 on SERVER:
Could not find class legacy_srts for chicweb0.chi.sharkrivertech.com
on node chicweb0 .chi.sharkrivertech.com
Warning: Not using cache on failed catalog
Error: Could not retrieve catalog; skipping run

what am I missing?

··· --

Peter L. Berghold Salty.Cowdawg@gmail.com

http://blog.berghold.net

Can you show the exact Puppet environment layout on the filesystem, the
location of legacy_srts inside that (the .pp file) and your puppet.conf?

··· On 20/06/14 16:39, Peter Berghold wrote: > OK, > > I have a production environment and a legacy environment defined and > recognized by foreman. If fact when I imported the legacy environment > into foreman it found and imported the few classes that exist in the > legacy environment. > > In spite of all that when I run the puppet agent on one of the hosts it > does not see the classes. Error I get is thus: > > > Error: Could not retrieve catalog from remote server: Error 400 on > SERVER: Could not find class legacy_srts for > chicweb0.chi.sharkrivertech.com > on node chicweb0 .chi.sharkrivertech.com > Warning: Not using cache on failed catalog > Error: Could not retrieve catalog; skipping run > > > what am I missing?


Dominic Cleal
Red Hat Engineering