On Wednesday, January 25, 2012 at 8:42 AM, Daniel DeLeo wrote:
On Wednesday, January 25, 2012 at 8:32 AM, Arthur Kalmenson wrote:Leonardo,Yes, running as sudoJoseph,Yeah, it looks the same to me as well. But how would I work around that?Daniel,That makes sense, but is there a way to source it so it runs as if it's logged in?You could try adding the `-l` flag to the bash resource, and setting the HOME environment variable using the `environment` attribute of the bash resource.I created an improvement request for this: http://tickets.opscode.com/browse/CHEF-2288 There are some workarounds posted.Thank you all for your help.--Arthur Kalmenson--Dan DeLeo
Archive powered by MHonArc 2.6.16.