[chef] Re: variables not rendering in a chef template


Chronological Thread 
  • From: Matt Ray < >
  • To:
  • Subject: [chef] Re: variables not rendering in a chef template
  • Date: Thu, 5 Jan 2012 19:38:25 -0600

On Thu, Jan 5, 2012 at 7:03 PM,  
< >
 wrote:
> export AWS_x509_CERT="<% node[:aws][:aws_x509_cert_path] %>"
> export AWS_x509_KEY="<% node.aws.aws_x509_key_path %>"

These 2 lines are missing the equals character in "<%="

The environment can be accessed off of the node with node.chef_environment.

Thanks,
Matt Ray
Senior Technical Evangelist | Opscode Inc.

 | (512) 731-2218
Twitter, IRC, GitHub: mattray



Archive powered by MHonArc 2.6.16.

§