How to Running chef-client in regular interval
Running chef-client in regular interval
• Go to node, Open “crontab” file inside /etc directory & give
* * * * * root chef-client (in bootstrap script, can give below command to automate completely) echo "* * * * * root chef-client" >> /etc/crontab
• Modify the recipe and upload that cookbook to chef-server for testing
knife cookbook upload <cookbook> (Adding cookbook’s recipe to node’s run-list is one time effort. Need not to add again and again)