Need help in foreman pupper run enable

Hi,

I am using the puppetssh provider to enable the puppet run in foreman.
While running the puppet run from foreman console I am getting below error:

failed to execute puppetrun: ERF12-4252 [ProxyAPI::ProxyException]: Unable
to execute Puppet run ([RestClient::ResourceNotFound]: 404 Resource Not
Found) for proxy https://<hostname>:8443/puppet

Can someone please help me with this error?

I have followed all the steps mentioned in foreman manual for puppetssh.
JFYI I am using foreman 1.10 version.

Thanks,
Sanjiv

Also I can see error in proxy.log as

[2016-06-08T23:51:23.184500 #25111] ERROR – : Couldn't enable plugin
puppet: Permission denied - /etc/foreman-proxy/settings.d/puppet.yml

··· On Wednesday, June 8, 2016 at 11:49:54 PM UTC+5:30, Sanjiv wrote: > > Hi, > > I am using the puppetssh provider to enable the puppet run in foreman. > While running the puppet run from foreman console I am getting below error: > > failed to execute puppetrun: ERF12-4252 [ProxyAPI::ProxyException]: Unable > to execute Puppet run ([RestClient::ResourceNotFound]: 404 Resource Not > Found) for proxy https://:8443/puppet > > Can someone please help me with this error? > > I have followed all the steps mentioned in foreman manual for puppetssh. > JFYI I am using foreman 1.10 version. > > Thanks, > Sanjiv >

Well, that's probably the cause!

What permissions does the file have? It should be read-able to the
foreman-proxy user, e.g. 0644 or 0640 with group set to foreman-proxy.

··· On 08/06/16 19:50, Sanjiv wrote: > Also I can see error in proxy.log as > > [2016-06-08T23:51:23.184500 #25111] ERROR -- : Couldn't enable plugin > puppet: Permission denied - /etc/foreman-proxy/settings.d/puppet.yml


Dominic Cleal
dominic@cleal.org