[chef] Re: Re: Why will chef not read a file in a template?


Chronological Thread 
  • From: Daniel DeLeo < >
  • To:
  • Subject: [chef] Re: Re: Why will chef not read a file in a template?
  • Date: Sat, 22 Feb 2014 09:54:06 -0800



On Saturday, February 22, 2014 at 9:53 AM, Denis Barishev wrote:

> Is it okay
>  
> that you use single quotes, the value won't be substituted...
>  
> Regards,
> Dennis


This is correct. Here’s an example in `irb`:

irb(main):016:0> '#{Time.now}'
=> "\#{Time.now}"
irb(main):017:0> "#{Time.now}"
=> "2014-02-22 09:52:48 -0800"



--  
Daniel DeLeo  





Archive powered by MHonArc 2.6.16.

§