notes/devops/provis/chef/chef-client.txt
Ihar Hancharenka 5dff80e88e first
2023-03-27 16:52:17 +03:00

17 строки
438 B
Plaintext

chef-client:
works with cookbooks
is an agent, running at every node in order to bring it to the desired state
https://docs.chef.io/chef_client.html
--local-mode
to avoid contacting chef-server
-r "recipe[cookbook-name::recipe-name],..."
-r "recipe[cookbook-name(::default)],..."
run-list
-z -o my_cookbook
??? chef-zero
-i 1800
daemon-mode to check updates every 30 min