Hi, I''m having trouble getting puppetrun to work, it returns: # puppetrun --debug --host serverb debug: Puppet::Network::Client::Runner: defining puppetrunner.run Triggering serverb debug: Calling puppetrunner.run warning: peer certificate won''t be verified in this SSL session err: Could not call puppetrunner.run: #<RuntimeError: HTTP-Error: 500 Internal Server Error > Host serverb failed: HTTP-Error: 500 Internal Server Error serverb finished with exit code 2 Failed: serverb I have the following in namespace.conf (on serverb): [fileserver] allow * [puppetmaster] allow * [puppetrunner] allow * If I run puppetd in debug mode on serverb, I get: notice: Denying unauthenticated client puppet.math.ohio-state.edu(140.254.92.48) access to puppetrunner.run Help? ...thnx, ...dave -- Dave Alden The Ohio State University Department of Mathematics --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
On Fri, Jun 27, 2008 at 1:59 PM, Dave Alden <alden@math.ohio-state.edu> wrote:> > > Hi, > I''m having trouble getting puppetrun to work, it returns: > > # puppetrun --debug --host serverb > debug: Puppet::Network::Client::Runner: defining puppetrunner.run > Triggering serverb > debug: Calling puppetrunner.run > warning: peer certificate won''t be verified in this SSL session > err: Could not call puppetrunner.run: #<RuntimeError: HTTP-Error: 500 Internal Server Error > > Host serverb failed: HTTP-Error: 500 Internal Server Error > serverb finished with exit code 2 > Failed: serverb > > > I have the following in namespace.conf (on serverb): > [fileserver] > allow * > [puppetmaster] > allow * > [puppetrunner] > allow * > > If I run puppetd in debug mode on serverb, I get: > > notice: Denying unauthenticated client puppet.math.ohio-state.edu(140.254.92.48) access to puppetrunner.run > > > Help? >Have you used puppetca to authorize puppet.math.ohio-state.edu? Each client has to be authorized. Or you need to set up auto authorization. Either way you have to clean out the old certs each time you rebuild a client. evan --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---
Hi, On Fri, Jun 27, 2008 at 02:03:32PM -0500, Evan Hisey wrote:> On Fri, Jun 27, 2008 at 1:59 PM, Dave Alden <alden@math.ohio-state.edu> wrote: > > I''m having trouble getting puppetrun to work, it returns: > > > > # puppetrun --debug --host serverb > > debug: Puppet::Network::Client::Runner: defining puppetrunner.run > > Triggering serverb > > debug: Calling puppetrunner.run > > warning: peer certificate won''t be verified in this SSL session > > err: Could not call puppetrunner.run: #<RuntimeError: HTTP-Error: 500 Internal Server Error > > > Host serverb failed: HTTP-Error: 500 Internal Server Error > > serverb finished with exit code 2 > > Failed: serverb > Have you used puppetca to authorize puppet.math.ohio-state.edu? Each > client has to be authorized. Or you need to set up auto authorization. > Either way you have to clean out the old certs each time you rebuild a > client.Ack -- stupid admin error. :-) I have recently switched from installing via source over to using the prepackaged rpm''s from redhat. I didn''t realize that I needed to install the ''puppet-server'' rpm on the client host, which installed the following files, one of which must be necessary to make this work: /etc/puppet/fileserver.conf /etc/puppet/manifests /etc/rc.d/init.d/puppetmaster /etc/sysconfig/puppetmaster /usr/bin/puppetrun /usr/sbin/puppetca /usr/sbin/puppetmasterd Anyway -- all is well now. Thanks. :-) ...dave -- Dave Alden The Ohio State University Department of Mathematics --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@googlegroups.com To unsubscribe from this group, send email to puppet-users-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en -~----------~----~----~----~------~----~------~--~---