CA issue from smart proxy

Tried to list the pending certificates from Foreman and got this lovely
message:

[image: Inline image 1]
so I looked in the foreman-proxy log file and found the following message:

E, [2015-02-04T15:46:23.454261 #15359] ERROR – : Failed to list
certificates: Execution of puppetca failed, check log files

I'm presuming the proxy tried to execute "puppetca list" instead of "puppet
ca list"

How do I coerce the proxy to use "puppet ca" instead of "puppetca"?

··· --

Peter L. Berghold Salty.Cowdawg@gmail.com

h http://blog.berghold.netttp://science-fiction.berghold.net

> I'm presuming the proxy tried to execute "puppetca list" instead of "puppet
> ca list"
>
> How do I coerce the proxy to use "puppet ca" instead of "puppetca"?

Hey,

you don't need to configure this, foreman-proxy does detect this for
you.

modules/puppetca/puppetca_main.rb#find_puppetca

Might be a bug or something, see the code and investigate why it fails
for you.

··· -- Later, Lukas #lzap Zapletal

Turns out it was how the SysAdmin folks set up sudo that got in the way. I
set foreman-proxy logging to debug and watched what it was trying to do.
When I saw the "sudo" in the log files I knew where the problem was.

Thanks for pushing me in the right direction. Another entry into my
Deployment Guide for putting Foreman into production.

··· On Wed, Feb 4, 2015 at 11:45 AM, Lukas Zapletal wrote:

I’m presuming the proxy tried to execute “puppetca list” instead of
“puppet
ca list”

How do I coerce the proxy to use “puppet ca” instead of “puppetca”?

Hey,

you don’t need to configure this, foreman-proxy does detect this for
you.

modules/puppetca/puppetca_main.rb#find_puppetca

Might be a bug or something, see the code and investigate why it fails
for you.


Later,
Lukas #lzap Zapletal


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 foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Peter L. Berghold Salty.Cowdawg@gmail.com

h http://blog.berghold.netttp://science-fiction.berghold.net