- From: Adam Jacob <
>
- To:
- Cc: Tristan Sloughter <
>
- Subject: [chef] Re: Installing packages but running as non-root user
- Date: Wed, 9 Mar 2011 09:27:00 -0600
On Wed, Mar 9, 2011 at 9:20 AM, Tristan Sloughter
<
>
wrote:
>
I've been using the Chef client as a non-root user on all my nodes. It
>
seemed like the right way to go. But now I want to be able to use the
>
package resource to install some base packages on the CentOS nodes. Is there
>
a way to have the resource sudo? Is it better to just run the client as
>
root? Is there another way to accomplish this goal without running as root?
There is not really an easy way to have Chef elevate privileges in
this way - typically, this class of tool runs as root for precisely
these reasons.
Best,
Adam
--
Opscode, Inc.
Adam Jacob, Chief Product Officer
T: (206) 619-7151 E:
Archive powered by MHonArc 2.6.16.