L10 – Getting started
GETTING SET UP
ON CLIENT
Enable ssh
$ vi /etc/ssh/sshd_config
Uncomment “#PermitRootLogin yes”
$ service sshd restart
ON CHEF SERVER
Download the starter kit from web page – ONLY DO THIS ONCE
ON WORKSTATION
Get chef-starter.zip from wherever we downloaded it to.
then
$ curl -L https://www.opscode.com/chef/install.sh | sudo bash # install chef workstation
$ knife bootstrap
# install chef agent on the client
ON CLIENT
$ cd /etc/chef
vi client.rb
add the line “log_level :info”
$ chef-client # to run convergence
Reset sshd_config to remove root login
Â
Discussion ¬