May 2017
Intermediate to advanced
726 pages
15h 38m
English
While you can run the Chef client on your nodes manually whenever you change something in your Chef repository, it's sometimes preferable to have the Chef client run automatically every so often. Letting the Chef client run automatically makes sure that no box misses out any updates.
You need to have a node registered with your Chef server. It needs to be able to run chef-client without any errors.
Let's see how to start the Chef client in the daemon mode so that it runs automatically.
user@server:~$ sudo chef-client -i 1800
user@server:~$ ps auxw | grep chef-client
Read now
Unlock full access