chef
DESCRIPTION
A high level overview of chef.TRANSCRIPT
![Page 2: Chef](https://reader033.vdocuments.mx/reader033/viewer/2022060109/555386e4b4c905ba078b45b0/html5/thumbnails/2.jpg)
i suckat titles
Sunday, October 24, 2010
![Page 3: Chef](https://reader033.vdocuments.mx/reader033/viewer/2022060109/555386e4b4c905ba078b45b0/html5/thumbnails/3.jpg)
Configuration ManagementDrupalCamp NYC 8
http://www.flickr.com/photos/acmace/4434408330/
Sunday, October 24, 2010
![Page 4: Chef](https://reader033.vdocuments.mx/reader033/viewer/2022060109/555386e4b4c905ba078b45b0/html5/thumbnails/4.jpg)
Configuration ManagementDrupalCamp NYC 8
10 people...
http://www.flickr.com/photos/acmace/4434408330/
Sunday, October 24, 2010
![Page 5: Chef](https://reader033.vdocuments.mx/reader033/viewer/2022060109/555386e4b4c905ba078b45b0/html5/thumbnails/5.jpg)
Configuration Management w/ChefDrupalCampMTL 2010
http://www.flickr.com/photos/cfso1952/3597279132/
Sunday, October 24, 2010
![Page 6: Chef](https://reader033.vdocuments.mx/reader033/viewer/2022060109/555386e4b4c905ba078b45b0/html5/thumbnails/6.jpg)
Configuration Management w/ChefDrupalCampMTL 2010
11 people?
http://www.flickr.com/photos/cfso1952/3597279132/
Sunday, October 24, 2010
![Page 7: Chef](https://reader033.vdocuments.mx/reader033/viewer/2022060109/555386e4b4c905ba078b45b0/html5/thumbnails/7.jpg)
what the hell is configuration management
Sunday, October 24, 2010
![Page 8: Chef](https://reader033.vdocuments.mx/reader033/viewer/2022060109/555386e4b4c905ba078b45b0/html5/thumbnails/8.jpg)
server configuration
Sunday, October 24, 2010
![Page 9: Chef](https://reader033.vdocuments.mx/reader033/viewer/2022060109/555386e4b4c905ba078b45b0/html5/thumbnails/9.jpg)
server configuration
codeSunday, October 24, 2010
![Page 10: Chef](https://reader033.vdocuments.mx/reader033/viewer/2022060109/555386e4b4c905ba078b45b0/html5/thumbnails/10.jpg)
server configuration
code*we’re all programers!
Sunday, October 24, 2010
![Page 11: Chef](https://reader033.vdocuments.mx/reader033/viewer/2022060109/555386e4b4c905ba078b45b0/html5/thumbnails/11.jpg)
http://www.hunterhomesnh.com/gallery.php?var=1
blueprints for your servers
Sunday, October 24, 2010
![Page 12: Chef](https://reader033.vdocuments.mx/reader033/viewer/2022060109/555386e4b4c905ba078b45b0/html5/thumbnails/12.jpg)
http://www.flickr.com/photos/theodevil/4278796647/
and the factory to build it
Sunday, October 24, 2010
![Page 13: Chef](https://reader033.vdocuments.mx/reader033/viewer/2022060109/555386e4b4c905ba078b45b0/html5/thumbnails/13.jpg)
what arethe tools
http://www.flickr.com/photos/ontario_wanderer/3496185271/
Sunday, October 24, 2010
![Page 14: Chef](https://reader033.vdocuments.mx/reader033/viewer/2022060109/555386e4b4c905ba078b45b0/html5/thumbnails/14.jpg)
started in 1993
written in C
Argonne National Laboratory
written in python
Sunday, October 24, 2010
![Page 15: Chef](https://reader033.vdocuments.mx/reader033/viewer/2022060109/555386e4b4c905ba078b45b0/html5/thumbnails/15.jpg)
first release in 2005
written in ruby
puppet DSL
similar to chef
Sunday, October 24, 2010
![Page 16: Chef](https://reader033.vdocuments.mx/reader033/viewer/2022060109/555386e4b4c905ba078b45b0/html5/thumbnails/16.jpg)
http://www.flickr.com/photos/28056346@N06/3025510447/
chef
Sunday, October 24, 2010
![Page 17: Chef](https://reader033.vdocuments.mx/reader033/viewer/2022060109/555386e4b4c905ba078b45b0/html5/thumbnails/17.jpg)
http://www.flickr.com/photos/28056346@N06/3025510447/
first release in 2009written in rubypure ruby DSL
Sunday, October 24, 2010
![Page 18: Chef](https://reader033.vdocuments.mx/reader033/viewer/2022060109/555386e4b4c905ba078b45b0/html5/thumbnails/18.jpg)
Sunday, October 24, 2010
![Page 19: Chef](https://reader033.vdocuments.mx/reader033/viewer/2022060109/555386e4b4c905ba078b45b0/html5/thumbnails/19.jpg)
quick run down
Sunday, October 24, 2010
![Page 20: Chef](https://reader033.vdocuments.mx/reader033/viewer/2022060109/555386e4b4c905ba078b45b0/html5/thumbnails/20.jpg)
chef-clientruns on each machine
Sunday, October 24, 2010
![Page 21: Chef](https://reader033.vdocuments.mx/reader033/viewer/2022060109/555386e4b4c905ba078b45b0/html5/thumbnails/21.jpg)
chef-servermanages each machine
Sunday, October 24, 2010
![Page 22: Chef](https://reader033.vdocuments.mx/reader033/viewer/2022060109/555386e4b4c905ba078b45b0/html5/thumbnails/22.jpg)
chef-solosever and client all-in-one
Sunday, October 24, 2010
![Page 23: Chef](https://reader033.vdocuments.mx/reader033/viewer/2022060109/555386e4b4c905ba078b45b0/html5/thumbnails/23.jpg)
every machine you configure is a node
Sunday, October 24, 2010
![Page 24: Chef](https://reader033.vdocuments.mx/reader033/viewer/2022060109/555386e4b4c905ba078b45b0/html5/thumbnails/24.jpg)
every machine you configure is a node
*yeah more nodes!Sunday, October 24, 2010
![Page 25: Chef](https://reader033.vdocuments.mx/reader033/viewer/2022060109/555386e4b4c905ba078b45b0/html5/thumbnails/25.jpg)
nodes have attributes
Sunday, October 24, 2010
![Page 26: Chef](https://reader033.vdocuments.mx/reader033/viewer/2022060109/555386e4b4c905ba078b45b0/html5/thumbnails/26.jpg)
$ ohai
Sunday, October 24, 2010
![Page 27: Chef](https://reader033.vdocuments.mx/reader033/viewer/2022060109/555386e4b4c905ba078b45b0/html5/thumbnails/27.jpg)
$ ohai
*just a snippet
Sunday, October 24, 2010
![Page 28: Chef](https://reader033.vdocuments.mx/reader033/viewer/2022060109/555386e4b4c905ba078b45b0/html5/thumbnails/28.jpg)
attributes can be searched with solr
http://wiki.opscode.com/display/chef/SearchSunday, October 24, 2010
![Page 29: Chef](https://reader033.vdocuments.mx/reader033/viewer/2022060109/555386e4b4c905ba078b45b0/html5/thumbnails/29.jpg)
attributes can be searched with solr
*nodes + searching ... is this a drupal site?
http://wiki.opscode.com/display/chef/SearchSunday, October 24, 2010
![Page 30: Chef](https://reader033.vdocuments.mx/reader033/viewer/2022060109/555386e4b4c905ba078b45b0/html5/thumbnails/30.jpg)
every node can be assigned a rolemyql server, apache server, both
Sunday, October 24, 2010
![Page 31: Chef](https://reader033.vdocuments.mx/reader033/viewer/2022060109/555386e4b4c905ba078b45b0/html5/thumbnails/31.jpg)
every node has a run listlist of roles and recipes
applied in order
Sunday, October 24, 2010
![Page 32: Chef](https://reader033.vdocuments.mx/reader033/viewer/2022060109/555386e4b4c905ba078b45b0/html5/thumbnails/32.jpg)
this is what chef manages
every node has a set of resources
Sunday, October 24, 2010
![Page 33: Chef](https://reader033.vdocuments.mx/reader033/viewer/2022060109/555386e4b4c905ba078b45b0/html5/thumbnails/33.jpg)
resource
Sunday, October 24, 2010
![Page 34: Chef](https://reader033.vdocuments.mx/reader033/viewer/2022060109/555386e4b4c905ba078b45b0/html5/thumbnails/34.jpg)
*a resource has an action
Sunday, October 24, 2010
![Page 35: Chef](https://reader033.vdocuments.mx/reader033/viewer/2022060109/555386e4b4c905ba078b45b0/html5/thumbnails/35.jpg)
*resources have attributes*allow multiple actions
Sunday, October 24, 2010
![Page 36: Chef](https://reader033.vdocuments.mx/reader033/viewer/2022060109/555386e4b4c905ba078b45b0/html5/thumbnails/36.jpg)
*resources have attributes*allow multiple actions
Sunday, October 24, 2010
![Page 37: Chef](https://reader033.vdocuments.mx/reader033/viewer/2022060109/555386e4b4c905ba078b45b0/html5/thumbnails/37.jpg)
*resources have attributes*allow multiple actions
Sunday, October 24, 2010
![Page 38: Chef](https://reader033.vdocuments.mx/reader033/viewer/2022060109/555386e4b4c905ba078b45b0/html5/thumbnails/38.jpg)
*resources can notify other resources
Sunday, October 24, 2010
![Page 39: Chef](https://reader033.vdocuments.mx/reader033/viewer/2022060109/555386e4b4c905ba078b45b0/html5/thumbnails/39.jpg)
my.cnf.erb
*attributes
Sunday, October 24, 2010
![Page 40: Chef](https://reader033.vdocuments.mx/reader033/viewer/2022060109/555386e4b4c905ba078b45b0/html5/thumbnails/40.jpg)
my.cnf.erb
*attributes
Sunday, October 24, 2010
![Page 41: Chef](https://reader033.vdocuments.mx/reader033/viewer/2022060109/555386e4b4c905ba078b45b0/html5/thumbnails/41.jpg)
*can be overridden*searchable
attributes
Sunday, October 24, 2010
![Page 42: Chef](https://reader033.vdocuments.mx/reader033/viewer/2022060109/555386e4b4c905ba078b45b0/html5/thumbnails/42.jpg)
lots more: http://wiki.opscode.com/display/chef/Resources
*adds cronjob to crontab for www-data user
Sunday, October 24, 2010
![Page 43: Chef](https://reader033.vdocuments.mx/reader033/viewer/2022060109/555386e4b4c905ba078b45b0/html5/thumbnails/43.jpg)
recipe
Sunday, October 24, 2010
![Page 44: Chef](https://reader033.vdocuments.mx/reader033/viewer/2022060109/555386e4b4c905ba078b45b0/html5/thumbnails/44.jpg)
*group of resources*run in order
Sunday, October 24, 2010
![Page 45: Chef](https://reader033.vdocuments.mx/reader033/viewer/2022060109/555386e4b4c905ba078b45b0/html5/thumbnails/45.jpg)
cookbook
Sunday, October 24, 2010
![Page 46: Chef](https://reader033.vdocuments.mx/reader033/viewer/2022060109/555386e4b4c905ba078b45b0/html5/thumbnails/46.jpg)
cookbook
Sunday, October 24, 2010
![Page 47: Chef](https://reader033.vdocuments.mx/reader033/viewer/2022060109/555386e4b4c905ba078b45b0/html5/thumbnails/47.jpg)
file resolution
Sunday, October 24, 2010
![Page 48: Chef](https://reader033.vdocuments.mx/reader033/viewer/2022060109/555386e4b4c905ba078b45b0/html5/thumbnails/48.jpg)
some useful examples for
drupalists
Sunday, October 24, 2010
![Page 49: Chef](https://reader033.vdocuments.mx/reader033/viewer/2022060109/555386e4b4c905ba078b45b0/html5/thumbnails/49.jpg)
drush
Sunday, October 24, 2010
![Page 50: Chef](https://reader033.vdocuments.mx/reader033/viewer/2022060109/555386e4b4c905ba078b45b0/html5/thumbnails/50.jpg)
git checkout
Sunday, October 24, 2010
![Page 51: Chef](https://reader033.vdocuments.mx/reader033/viewer/2022060109/555386e4b4c905ba078b45b0/html5/thumbnails/51.jpg)
git checkout
Sunday, October 24, 2010
![Page 52: Chef](https://reader033.vdocuments.mx/reader033/viewer/2022060109/555386e4b4c905ba078b45b0/html5/thumbnails/52.jpg)
git checkout
Sunday, October 24, 2010
![Page 53: Chef](https://reader033.vdocuments.mx/reader033/viewer/2022060109/555386e4b4c905ba078b45b0/html5/thumbnails/53.jpg)
git checkout
branch
Sunday, October 24, 2010
![Page 54: Chef](https://reader033.vdocuments.mx/reader033/viewer/2022060109/555386e4b4c905ba078b45b0/html5/thumbnails/54.jpg)
Sunday, October 24, 2010
![Page 55: Chef](https://reader033.vdocuments.mx/reader033/viewer/2022060109/555386e4b4c905ba078b45b0/html5/thumbnails/55.jpg)
demo?
Sunday, October 24, 2010