[chef] Issue with changing "chef-client" scheduled task run interval.


Chronological Thread 
  • From:
  • To:
  • Subject: [chef] Issue with changing "chef-client" scheduled task run interval.
  • Date: Wed, 24 Dec 2014 13:57:59 +0200

Hi guys,

 

I have configured chef-client (windows platform) on my nodes to be run as a service.

 

Using chef-service-manager util from CMD.

 

Now I would like to change run interval from 1800 seconds to 900 ro any other value.

 

I downloaded chef-client cookbook and created recipe as follow:

node.default["chef_client"]["interval"] = '900'

node.default["chef_client"]["splay"] = '100'

 

I included chef-client cookbook in my cookbooks’s metadata.rb file as follow:

Depends ‘chef-client’

 

Just for changing those values.

 

But it doesn’t seem to take any affect.

What I am doing wrong?

 

Thank you in advance for your advises. 


Regards,

Taras.




Archive powered by MHonArc 2.6.16.

§