Hi Dominic,

thanks for your answer.

On Thu, Feb 23, 2017 at 10:57:07AM +0000, Dominic Cleal wrote:
> On 23/02/17 10:42, Marc Haber wrote:
> > I then, as usual, create an Environment branch01a in foreman and let
> > it import the classes by clicking in the environment list on the arrow
> > next to "Classes" and selecting "Import from" in the drop-down.
> > Foreman works a bit, reports a green window, but the class list
> > imported is an obsolete one. Classes deleted in branch01a still show
> > up in the class list, and the new classes defined in branch01a dont
> > show.
> > 
> > Do I see correctly that Foreman does not look into the local file
> > system but does instead query the puppet server for a list of its
> > environment?
> 
> The behaviour depends on the Puppet version being used and as configured
> in the smart proxy's puppet.yml configuration file.

It's puppet 3.8.7 here, with environmentpath set to
/etc/puppet/environments. That looks good.

Ths real issue was a stray "g" in line 1 of the manifest defining the
new class, which led to the entire manifest file being (silently?[1])
ignored. After (finding and) removing the g, everything is fine.

Thanks for helping!

Greetings
Marc

[1] I didn't comb through the really busy production.log in great
detail, but didn't find a meaningful error message. Nothing was given
on the web interface though.


-- 
-----------------------------------------------------------------------------
Marc Haber         | "I don't trust Computers. They | Mailadresse im Header
Leimen, Germany    |  lose things."    Winona Ryder | Fon: *49 6224 1600402
Nordisch by Nature |  How to make an American Quilt | Fax: *49 6224 1600421

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to