This guide covers a baseline Chef setup for workstation and managed nodes.
Download and install Chef Workstation from the official Chef downloads page.
chef --version
chef generate repo chef-repo
cd chef-repo
mkdir -p .chef
Install chef-client on each node using the official package source for your OS.
chef-client --version
knife bootstrap <NODE_IP> -x <USERNAME> --sudo
chef generate cookbook my_cookbook
knife cookbook upload my_cookbook
knife node run_list add <NODE_NAME> 'recipe[my_cookbook]'
See Chef Configuration for configuration guidance.
See Chef Security for hardening and operational security controls.