[chef] Re: Re: Re: Re: Re: Re: out-of-the-box chef-client cookbook has no interval dial


Chronological Thread 
  • From:
  • To:
  • Subject: [chef] Re: Re: Re: Re: Re: Re: out-of-the-box chef-client cookbook has no interval dial
  • Date: Thu, 6 Oct 2011 20:11:21 -0700

On Fri, 07 Oct 2011, AJ Christensen wrote:

> > [cheftain01]$ pwd
> > /home/kallen/sbox/ops/chef-repo/cookbooks/chef-client/templates/default
> >
> > [cheftain01]$ head client.rb.erb
> > log_level        :info
> > log_location     STDOUT
> 
> Ahh..
> 
> > interval         "<%= node["chef_client"]["interval"].to_i %>"
> 
> Word, this line is bad. You want it to look like:
> 
> interval <%= node["chef_client"]["interval"].to_i %>
> 
> Per my original email, without any extra double quotes. :)

ahoy! that worked. thanks!

also opened a bug to add that to the cookbook:
http://tickets.opscode.com/browse/COOK-784




Archive powered by MHonArc 2.6.16.

§