Chef
-
Upload
jeff-wallace -
Category
Technology
-
view
1.571 -
download
2
description
Transcript of Chef
i suckat titles
Sunday, October 24, 2010
Configuration ManagementDrupalCamp NYC 8
http://www.flickr.com/photos/acmace/4434408330/
Sunday, October 24, 2010
Configuration ManagementDrupalCamp NYC 8
10 people...
http://www.flickr.com/photos/acmace/4434408330/
Sunday, October 24, 2010
Configuration Management w/ChefDrupalCampMTL 2010
http://www.flickr.com/photos/cfso1952/3597279132/
Sunday, October 24, 2010
Configuration Management w/ChefDrupalCampMTL 2010
11 people?
http://www.flickr.com/photos/cfso1952/3597279132/
Sunday, October 24, 2010
what the hell is configuration management
Sunday, October 24, 2010
server configuration
Sunday, October 24, 2010
server configuration
codeSunday, October 24, 2010
server configuration
code*we’re all programers!
Sunday, October 24, 2010
http://www.hunterhomesnh.com/gallery.php?var=1
blueprints for your servers
Sunday, October 24, 2010
http://www.flickr.com/photos/theodevil/4278796647/
and the factory to build it
Sunday, October 24, 2010
what arethe tools
http://www.flickr.com/photos/ontario_wanderer/3496185271/
Sunday, October 24, 2010
started in 1993
written in C
Argonne National Laboratory
written in python
Sunday, October 24, 2010
first release in 2005
written in ruby
puppet DSL
similar to chef
Sunday, October 24, 2010
http://www.flickr.com/photos/28056346@N06/3025510447/
chef
Sunday, October 24, 2010
http://www.flickr.com/photos/28056346@N06/3025510447/
first release in 2009written in rubypure ruby DSL
Sunday, October 24, 2010
Sunday, October 24, 2010
quick run down
Sunday, October 24, 2010
chef-clientruns on each machine
Sunday, October 24, 2010
chef-servermanages each machine
Sunday, October 24, 2010
chef-solosever and client all-in-one
Sunday, October 24, 2010
every machine you configure is a node
Sunday, October 24, 2010
every machine you configure is a node
*yeah more nodes!Sunday, October 24, 2010
nodes have attributes
Sunday, October 24, 2010
$ ohai
Sunday, October 24, 2010
$ ohai
*just a snippet
Sunday, October 24, 2010
attributes can be searched with solr
http://wiki.opscode.com/display/chef/SearchSunday, October 24, 2010
attributes can be searched with solr
*nodes + searching ... is this a drupal site?
http://wiki.opscode.com/display/chef/SearchSunday, October 24, 2010
every node can be assigned a rolemyql server, apache server, both
Sunday, October 24, 2010
every node has a run listlist of roles and recipes
applied in order
Sunday, October 24, 2010
this is what chef manages
every node has a set of resources
Sunday, October 24, 2010
resource
Sunday, October 24, 2010
*a resource has an action
Sunday, October 24, 2010
*resources have attributes*allow multiple actions
Sunday, October 24, 2010
*resources have attributes*allow multiple actions
Sunday, October 24, 2010
*resources have attributes*allow multiple actions
Sunday, October 24, 2010
*resources can notify other resources
Sunday, October 24, 2010
my.cnf.erb
*attributes
Sunday, October 24, 2010
my.cnf.erb
*attributes
Sunday, October 24, 2010
*can be overridden*searchable
attributes
Sunday, October 24, 2010
lots more: http://wiki.opscode.com/display/chef/Resources
*adds cronjob to crontab for www-data user
Sunday, October 24, 2010
recipe
Sunday, October 24, 2010
*group of resources*run in order
Sunday, October 24, 2010
cookbook
Sunday, October 24, 2010
cookbook
Sunday, October 24, 2010
file resolution
Sunday, October 24, 2010
some useful examples for
drupalists
Sunday, October 24, 2010
drush
Sunday, October 24, 2010
git checkout
Sunday, October 24, 2010
git checkout
Sunday, October 24, 2010
git checkout
Sunday, October 24, 2010
git checkout
branch
Sunday, October 24, 2010
Sunday, October 24, 2010
demo?
Sunday, October 24, 2010