Install chef on Linux: Step by step guide
sudo rpm -Uvh https://packages.chef.io/files/stable/chef-workstation/21.7.553/el/7/chef-workstation-21.7.553-1.el7.x86_64.rpm mkdir ~/chef-repo cd ~/chef-repo echo ‘current_dir = File.dirname(__FILE__) log_level :info log_location STDOUT node_name “your_user_name” client_key “#{current_dir}/your_user_name.pem”
Read more