It apparently is needed and I am not at all sure why. I do know looking in
the section under here

https://theforeman.org/manuals/1.14/index.html#4.3.6Puppet

All of the changes are under the Puppet v4 section. It made little sense to
me, but adding those lines in "fixed" the issue and I can now see my
classes and import them.

Terrence

On Tue, Apr 4, 2017 at 5:12 PM, 'Lang, Jason' via Foreman users <
[email protected]> wrote:

> Is this needed?
>
> In your OP you said you were on puppet 4.9.4 but these errors are
> referencing puppet v3 paths?
>
> Unless I'm mistaking the v3 meaning in the errors and logs posted, which
> is possible.
>
> I'd be interested in what is in your puppet.yml and your
> foreman_proxy_puppet_legacy.yml (or whatever that one is called if it
> exists - I'm mobile right now and can't check the exact name - sorry)
>
>
> -------- Original Message --------
> From: [email protected] on behalf of Terrence Martin <
> [email protected]>
> Date: Tue, April 04, 2017 8:03 PM -0400
> To: Foreman users <[email protected]>
> Subject: [foreman-users] Re: Error: ERF12-4115 [ProxyAPI::ProxyException]:
> Unable to get classes from Puppet for production
>
> I got it sorted
>
> Added this to
>
> /etc/puppetlabs/puppet/auth.conf
>
> path /puppet/v3/environment_classes
> method find
> allow *
>
> and this to
>
> /etc/puppetlabs/puppetserver/conf.d/auth.conf
>
>
> {
>     match-request: {
>     path: "/puppet/v3/environment_classes"
>        type: path
>        method: get
>     }
>     allow: "*"
>     sort-order: 500
>     name: "puppetlabs environment classes"
> },
>
> --
> 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.
>
> The information contained in this message may be privileged, confidential
> and protected from disclosure. If the reader of this message is not the
> intended recipient, or an employee or agent responsible for delivering this
> message to the intended recipient, you are hereby notified that any
> dissemination, distribution or copying of this communication is strictly
> prohibited. If you have received this communication in error, please notify
> your representative immediately and delete this message from your computer.
> Thank you.
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Foreman users" group.
> To unsubscribe from this topic, visit https://groups.google.com/d/
> topic/foreman-users/_hWAPgY7bIQ/unsubscribe.
> To unsubscribe from this group and all its topics, 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.
>

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