[chef] How to change run time interval for chef-client which is set up as a service on Windows node?


Chronological Thread 
  • From:
  • To:
  • Subject: [chef] How to change run time interval for chef-client which is set up as a service on Windows node?
  • Date: Thu, 25 Dec 2014 15:48:48 +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.

§