If you have enough root access to make changes, I have successfully used yum as a different user by chowning the various yum state and cache directories. Probably not the best plan but YMMV.
On Feb 20, 2013, at 10:16 AM, David Gordon wrote: > Yes, it does run as non-root, and it's one reason I've not used Puppet's yum > support.. > > I very much wish it could run as root. It would make life so much simpler. > > On Wednesday, February 20, 2013 6:46:22 PM UTC+1, Dean Wilson wrote: > On 20 February 2013 17:40, David Gordon <[email protected]> wrote: > > > Thanks, but I've got to do this without any root access at all... > > Does your puppet run as a non-root user? if so you'll probably get bitten by > - > > vi +/'def checkRootUID' /usr/share/yum-cli/yumcommands.py > > Dean > -- > Dean Wilson http://www.unixdaemon.net > Profanity is the one language all programmers understand > --- Anon > > -- > You received this message because you are subscribed to the Google Groups > "Puppet Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/puppet-dev?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > -- Jo Rhett Net Consonance : net philanthropy to improve open source and internet projects. -- You received this message because you are subscribed to the Google Groups "Puppet Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/puppet-dev?hl=en. For more options, visit https://groups.google.com/groups/opt_out.
