Chef
-
Upload
mike-bailey -
Category
Business
-
view
2.511 -
download
2
description
Transcript of Chef
Chefsystems integration framework
install,configure& control
... servers in your sleep
BornMar 06, 2008
ReleasedJan 05, 2009
Apr 24, 2009
Funded
Chef is a
pup with
BIG paws
So what does it do?
chef-client periodically contacts chef-server for instructions
submits local system info collected with Ohai
authenticates via openid
runs recipes received from the server
chef-client
keeps record of nodes in CouchDB
provides chef-client with a json file with recipes
has a copy of your cookbooks
chef-server
Cookbooks
Recipe details
Attributes
Templates
Recipe
package "mysql-client" do package_name value_for_platform( [ "centos", "redhat", "suse" ] => { "default" => "mysql" }, "default" => "mysql-client" ) action :installend
r = gem_package "mysql" do version "2.7" action :nothingend
r.run_action(:install)
Using ruby in recipes
testing for cookbooks?
chef-client alternative that doesn’t require chef-server
used for installing chef server/client
chef-solo
For more information
http://wiki.opscode.com/display/chef/Home