# cat puppet.yml
---
# Puppet management
:enabled: https
# valid providers:
#   puppet_proxy_puppetrun   (for puppetrun/kick, deprecated in Puppet 3)
#   puppet_proxy_mcollective (uses mco puppet)
#   puppet_proxy_ssh         (run puppet over ssh)
#   puppet_proxy_salt        (uses salt puppet.run)
#   puppet_proxy_customrun   (calls a custom command with args)
#:use_provider: puppet_proxy_puppetrun

:puppet_version: 4.9.4





On Tuesday, April 4, 2017 at 5:13:02 PM UTC-7, Lang, Jason 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] <javascript:> on behalf of Terrence 
> Martin <[email protected] <javascript:>>
> Date: Tue, April 04, 2017 8:03 PM -0400
> To: Foreman users <[email protected] <javascript:>>
> 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] <javascript:>.
> To post to this group, send email to [email protected] 
> <javascript:>.
> 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 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