Getting started with chef
Set up a ubuntu node and run recipe on it
Predication:
- a running ubuntu node which accessiable via SSH from your labtop(workstation)
- cd to chef-repo directory.
Steps:
Bootstrap ububtu:
Verify the installation completed
you will see your nodename in the client list
Download cookbooks from community site
the cookbook named “getting-started” will be downloaded into chef-repo/cookbooks/
Upload the recipe to Hosted Chef so it is available for our nodes
Add this new recipe to the new nodes run list
Run the added recipe remotely via ssh
Runnig chef-client as a deamon
Advanced tips:
- add recipe when bootstrap node