- From:
- To:
- Subject: [chef] Re: Re: Re: Re: out-of-the-box chef-client cookbook has no interval dial
- Date: Thu, 6 Oct 2011 18:27:37 -0700
On Fri, 07 Oct 2011, AJ Christensen wrote:
>
Yo,
>
>
Still getting rendered as a string here. You want that to appear as:
>
>
interval 21600
>
>
Please paste the relevant contents of your client.erb template.
[cheftain01]$ pwd
/home/kallen/sbox/ops/chef-repo/cookbooks/chef-client/templates/default
[cheftain01]$ head client.rb.erb
log_level :info
log_location STDOUT
interval "<%= node["chef_client"]["interval"].to_i %>"
<% if Chef::Config.has_key?(:chef_server_url) -%>
chef_server_url "<%= Chef::Config[:chef_server_url] %>"
<% else -%>
chef_server_url "<%= node["chef_client"]["server_url"] %>"
<% end -%>
validation_client_name "<%= node["chef_client"]["validation_client_name"] %>"
Archive powered by MHonArc 2.6.16.