chef

knife client list
knife node list
knide cookbook list
knife cookbook site list
knife node run_list add HOSTNAME 'recipe[quick_start]'
knife node show HOSTNAME -r

A node is a host that runs the Chef client.

To configure your workstation as a chef client, you just need to copy this directory to /etc/chef:

sudo mkdir /etc/chef
sudo cp -r ~/chef-repo/client-config/* /etc/chef

你可能感兴趣的:(ch)