the real error message is generated here: http://theforeman.org/repositories/entry/foreman/vendor/plugins/proxy/lib/proxy.rb#L80
which basically tests if the ca directory is available and puppetca can be found. I'm guessing one of these two are missing (or in a non standard location). cheers, Ohad On Fri, Feb 19, 2010 at 6:14 AM, LOhit <lohi...@gmail.com> wrote: > 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 > end* > > > So, 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, > > > On Thu, Feb 18, 2010 at 11:37 PM, Ohad Levy <ohadl...@gmail.com> wrote: > >> hmm.. another option, do you use a non-standard directory for puppet >> binaries ? >> >> Ohad >> >> >> On Thu, Feb 18, 2010 at 4:21 PM, Ohad Levy <ohadl...@gmail.com> wrote: >> >>> Hi, >>> >>> Foreman needs to be able to execute puppetca, see >>> http://theforeman.org/repositories/entry/foreman/extras/puppet/foreman/manifests/puppetca.pp >>> >>> cheers, >>> Ohad >>> >>> On Thu, Feb 18, 2010 at 9:21 AM, LOhit <lohi...@gmail.com> wrote: >>> >>>> Hello, >>>> >>>> I ran into this problem today, I am trying to implement "One click >>>> installation", I followed foreman howtos and set up the pre-requisites >>>> accordingly. >>>> >>>> However, when I click on "Build" button, I get the following errors in >>>> the foreman's console and another error in the web interface indicating >>>> that >>>> the installation failed. Any ideas? >>>> >>>> *"PuppetCA: SSL/CA or puppetca unavailable on this machine"* >>>> >>>> *"Failed to enable hostname_here for installation"* >>>> >>>> Thanks in advance. >>>> >>>> -- >>>> LOhit >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "Puppet Users" group. >>>> To post to this group, send email to puppet-us...@googlegroups.com. >>>> To unsubscribe from this group, send email to >>>> puppet-users+unsubscr...@googlegroups.com<puppet-users%2bunsubscr...@googlegroups.com> >>>> . >>>> For more options, visit this group at >>>> http://groups.google.com/group/puppet-users?hl=en. >>>> >>> >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "Puppet Users" group. >> To post to this group, send email to puppet-us...@googlegroups.com. >> To unsubscribe from this group, send email to >> puppet-users+unsubscr...@googlegroups.com<puppet-users%2bunsubscr...@googlegroups.com> >> . >> For more options, visit this group at >> http://groups.google.com/group/puppet-users?hl=en. >> > > > > -- > LOhit > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Users" group. > To post to this group, send email to puppet-us...@googlegroups.com. > To unsubscribe from this group, send email to > puppet-users+unsubscr...@googlegroups.com<puppet-users%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/puppet-users?hl=en. > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.