- From: Adam Jacob <
>
- To:
- Cc: Tristan Sloughter <
>
- Subject: [chef] Re: Execute resource and sudo
- Date: Fri, 11 Mar 2011 13:46:41 -0800
Tristan, do you have debug logs? (Run the chef-client with --log-level debug)
Also, are you running the client as root?
Adam
On Fri, Mar 11, 2011 at 1:35 PM, Tristan Sloughter
<
>
wrote:
>
I've run into a problem where I'm using the execute resource and using the
>
'user' attribute. But the command exits with a 1 (not much other information
>
is given).
>
However, if I instead append 'sudo su - user' to the command in the command
>
attribute and do not use the attribute it works fine...
>
Tristan
--
Opscode, Inc.
Adam Jacob, Chief Product Officer
T: (206) 619-7151 E:
Archive powered by MHonArc 2.6.16.