Hello,

thank you, after chown, everything is working fine!

2016. augusztus 23., kedd 9:11:19 UTC+2 időpontban Dominic Cleal a 
következőt írta:
>
> On 22/08/16 18:51, [email protected] <javascript:> wrote: 
> > Hello, 
> > 
> > i googeled so much, but can't find the answer, so hopefully somebody can 
> > tell me, if it is possible to install foreman smart proxy via foreman 
> > puppets. My problem: I provisioned a new ubuntu host via foreman 
> > (bootdisk) in another subnet. Now i would like to install foreman-proxy 
> > on this host, but not via apt. I found foreman-proxy on puppetlabs, i 
> > downloaded and installed it on the foreman server. I deployed the 
> > foreman_proxy class on the target machine, after that I get an error in 
> > the reports: 
> > 
> > " 
> > Could not retrieve catalog from remote server: Error 500 on SERVER: 
> > {"message":"Server Error: Evaluation Error: Error while evaluating a 
> > Resource Statement, Evaluation Error: Error while evaluating a Function 
> > Call, Permission denied - 
> > /opt/puppetlabs/puppet/cache/foreman_cache_data/oauth_consumer_key 
> > " 
>
> This is a permissions issue, try running a "chown -R puppet 
> /opt/puppetlabs/puppet/cache/foreman_cache_data" to reclaim the 
> directory. Later versions of Puppet Server and Foreman should fix this 
> by separating the cachedir between apply/master mode. 
>
> > So my question, is it possible to install/configure foreman-proxy via 
> > foreman/puppet at all? Sorry, I'm total newbie in foreman, and I don't 
> > have a clue, if I configured something wrong (or didn't configured 
> > something), or if it is absolutely not possible to do this via foreman. 
> > If it is not possible, and I can only install the proxy via apt, is 
> > there somewhere  a step by step how to? Installation is no problem, but 
> > in the tutorials that I found there are only "configure it for your 
> > needs". And this is not too much information, about the config... :) 
>
> Have you checked the manual? It has a whole section on installation and 
> configuration - but you do need to know what modules you need it for to 
> know what to configure (e.g. Puppet, TFTP). 
>
> https://theforeman.org/manuals/1.12/index.html#4.3SmartProxies 
>
> -- 
> Dominic Cleal 
> [email protected] <javascript:> 
>

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