What version of puppet? also what is your path set to. I had a problem on an older version of puppet (can't remember which one) where i had '/etc' on my path and puppet was trying to use /etc/rpm as the rpm command, but /etc/rpm is a directory and then failed.

It has been fixed in the more current versions (I'm currently running 0.24.8 on my centos systems).

- JimP

On May 22, 2009, at 5:11 PM, Kyle Mallory wrote:


I have just installed Puppet on CentOS.  One of about 15 machines in
our organization.  Currently 5 have puppet installled, all CentOS.

On this particular machine, Puppet fails to run most of our recipes,
stating:

'Could not prefetch package provider 'yum': Command rpm is missing'

I've not had any issues with our other machines, and I can manually
run yum and rpm on the command line, without issue.

I've tried to look through the code for the providers/packages/*.rb,
but I'm not a Ruby super-star, and it doesn't make sense.

Could someone shed some light on why Puppet might have trouble finding
'rpm', and how I could further troubleshoot, and ultimately fix this
problem?


Thanks,

Kyle Mallory

--~--~---------~--~----~------------~-------~--~----~
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 +unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/ group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

--- @(#) $Id: dot.signature,v 1.15 2007/12/27 15:06:13 pirzyk Exp $
    __o  j...@pirzyk.org -------------------------------------------
 _'\<,_
(*)/ (*) I'd rather be out biking.



--- @(#) $Id: dot.signature,v 1.15 2007/12/27 15:06:13 pirzyk Exp $
    __o  j...@pirzyk.org -------------------------------------------
 _'\<,_
(*)/ (*) I'd rather be out biking.

Attachment: PGP.sig
Description: This is a digitally signed message part

Reply via email to