I know how to start chef-client with --local mode, but it takes very long to load local repository and everything. I am wondering if I can run chef-client as a long-running service (chef-zero server?) So I can run chef client without starting local-mode server every time.
Can I run chef-client as a daemon in local-mode?
410 Views Asked by Zhenkai At
2
Wonderful, now chef-client can be run in daemon mode, sleep interval is configurable, also you can send USR1 signal to trigger converge immediately. It is all described in documentation: https://docs.chef.io/ctl_chef_client.html