Hi,
Actually, I have built custom RPMs of Puppet & Facter tailored to meet the requirements of my environment. So, when I install these RPMs, the binaries go into "/usr/sbin" including "puppetca"
And Pupept & Foreman are started by root. Initially, I too thought that foreman was not able to find the "puppetca" binary, but then I wasn't sure.
I couldn't find much info anywhere, so thought of taking look at the code.
def setBuild
host = Host.find params[:id]
if host.setBuild != false (if I set this to true, I get the right message in the web UI but, obviously that doesn't solve the problem)
flash[:foreman_notice] = "Enabled #{host.name} for installation boot away"
else
flash[:foreman_error] = "Failed to enable #{host.name} for installation"
end
redirect_to :back
endSo, the conditions are not being met to enable the host for installation.
PS: THIS IS A TEST SETUP, SO, I CAN TRY OUT DIFFERENT THINGS, PLEASE FEEL FREE TO SUGGEST FIXES. :)
Thanks,
--
LOhit