I fixed this by setting the correct puppet cache directory for foreman. Now 
I'm on to another issue, where I cannot import puppet classes because of:

ERF12-4115  406 Not Acceptable ... We've tried changing the auth.conf rules 
to no effect - that shows me a wiki page that has me check 
/var/log/foreman-proxy/proxy.log
which shows:
ERROR -- : Failed to show puppet classes: 403 {"message":"Not Authorized: 
Forbidden request: /puppet/v3/resource_type/* 
[search]","issue_kind":"RUNTIME_ERROR"}

The fix for this ended up being disabling the legacy auth.conf and just 
using the new format with the suggested foreman settings from their guide. 
V3 agents check in successfully. 

Final take away - I think that anyone else trying this after us should 
mostly follow the foreman wiki and ignore a lot of the server / master 
stuff from puppet directly. Of course you do need to refer to puppet 
guidelines for fixing the manifests. Future parser did not find a lot of 
issues for us so we ended up fixing them after the upgrade - carefully 
working through the puppet guidelines and not assuming the agents will 
error would also help.

-- 
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