[chef] Re: Installing packages but running as non-root user


Chronological Thread 
  • From: Tristan Sloughter < >
  • To: Adam Jacob < >
  • Cc:
  • Subject: [chef] Re: Installing packages but running as non-root user
  • Date: Wed, 9 Mar 2011 10:19:44 -0600
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=pTOabACJ9GmYH5SmKtIbmkh3qcOx/pdNnaQWMwzF79Zpm58hoblPXCCbYZmSp/WblQ kqweQn07KRuaJwxXN2YX4iqDqzb7mikPSstJxdL+IOIqJJzwr7jKnvicW3FDSS2dek6e nvkOxLJpbat119gtj0osWkaE61ane9pZ6sZ30=

OK, I'll go that route from now on then. Thanks.

On Wed, Mar 9, 2011 at 9:27 AM, Adam Jacob < "> > wrote:
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.

§