[chef] Re: DaemonTool recipe and environment variables


Chronological Thread 
  • From: Joshua Timberman < >
  • To:
  • Subject: [chef] Re: DaemonTool recipe and environment variables
  • Date: Tue, 6 Sep 2011 21:20:36 -0600

Hello,

On Sep 4, 2011, at 6:00 PM, 
< >
 
< >
 wrote:

>  env = {"JAVA_HOME" => "/usr/bin", "TANGOOL_HOME" => "/u01/juliet-cache"}

Remove the = between env and the hash:

env {"JAVA_HOME" => "/usr/bin", "TANGOOL_HOME" => "/u01/juliet-cache"}

Your syntax sets a local variable named env to that hash instead, not setting 
the parameter to the resource.


-- 
Opscode, Inc
Joshua Timberman, Director of Training and Services
IRC, Skype, Twitter, Github: jtimberman




Archive powered by MHonArc 2.6.16.

§