Copyright © 2010 Opscode, Inc - All Rights Reserved Speaker: ‣ [email protected] ‣ @jtimberman ‣ www.opscode.com Joshua Timberman Technical Evangelist 1 Whats new with Chef? Wednesday, October 27, 2010
Copyright © 2010 Opscode, Inc - All Rights Reserved
Speaker:
‣ [email protected]‣ @jtimberman‣ www.opscode.com
Joshua Timberman Technical Evangelist
1
Whats new with Chef?
Wednesday, October 27, 2010
Copyright © 2010 Opscode, Inc - All Rights Reserved 2http://www.flickr.com/photos/anotherphotograph/2100904507/sizes/o/
System administrator
Opscode: Training, Services
Wednesday, October 27, 2010
Copyright © 2010 Opscode, Inc - All Rights Reserved 3http://www.brooklynstreetart.com/theBlog/wp-content/uploads/2008/12/swedish_chef_bork-sleeper-cell.jpg
Wednesday, October 27, 2010
Copyright © 2010 Opscode, Inc - All Rights Reserved
200 individuals50 companies
1000+ commits!
4Wednesday, October 27, 2010
Copyright © 2010 Opscode, Inc - All Rights Reserved 5Wednesday, October 27, 2010
Copyright © 2010 Opscode, Inc - All Rights Reserved
Current release:
6Wednesday, October 27, 2010
Copyright © 2010 Opscode, Inc - All Rights Reserved
0.9.10
7Wednesday, October 27, 2010
Copyright © 2010 Opscode, Inc - All Rights Reserved 8
0.9.10
Wednesday, October 27, 2010
Copyright © 2010 Opscode, Inc - All Rights Reserved 9
0.9.12
Wednesday, October 27, 2010
Copyright © 2010 Opscode, Inc - All Rights Reserved
~20 releases
10Wednesday, October 27, 2010
Copyright © 2010 Opscode, Inc - All Rights Reserved
Authentication refactor
11Wednesday, October 27, 2010
Copyright © 2010 Opscode, Inc - All Rights Reserved
Search Engine Change
12Wednesday, October 27, 2010
Copyright © 2010 Opscode, Inc - All Rights Reserved
Robustificated API
13Wednesday, October 27, 2010
Copyright © 2010 Opscode, Inc - All Rights Reserved
LWRP
14Wednesday, October 27, 2010
Copyright © 2010 Opscode, Inc - All Rights Reserved
LWRP
15
aws_ebs_volumeaws_elastic_ipdaemontools_servicebluepill_servicepacman_grouppacman_aurmysql_database
Wednesday, October 27, 2010
Copyright © 2010 Opscode, Inc - All Rights Reserved
Data bags store arbitrary data
16Wednesday, October 27, 2010
Copyright © 2010 Opscode, Inc - All Rights Reserved 17Wednesday, October 27, 2010
Copyright © 2010 Opscode, Inc - All Rights Reserved 18
Cookbooks are shareable!
cookbooks.opscode.com
Wednesday, October 27, 2010
Copyright © 2010 Opscode, Inc - All Rights Reserved
Cookbook Site API
19
REST API“knife cookbook site”
Wednesday, October 27, 2010
Copyright © 2010 Opscode, Inc - All Rights Reserved
The Opscode Platform is a hosted Chef Server
20
http://www.opscode.com
Wednesday, October 27, 2010
Copyright © 2010 Opscode, Inc - All Rights Reserved 21
Training!
Wednesday, October 27, 2010
Copyright © 2010 Opscode, Inc - All Rights Reserved
info.opscode.com/opentraining
22Wednesday, October 27, 2010
Copyright © 2010 Opscode, Inc - All Rights Reserved
Training and Services
23
3 day fundamentals5 day bootcampConsulting servicesWebcasts, guides, support
Wednesday, October 27, 2010
Copyright © 2010 Opscode, Inc - All Rights Reserved
Command-line API utility, Knife
24http://www.flickr.com/photos/myklroventine/3474391066/
Wednesday, October 27, 2010
Copyright © 2010 Opscode, Inc - All Rights Reserved
Knife - Chef Server API
rolenodeclientcookbookdata bagsearch
25Wednesday, October 27, 2010
Copyright © 2010 Opscode, Inc - All Rights Reserved 26
cookbooks.opscode.com
knife cookbook site
‣ download‣ list‣ search‣ share‣ show‣ unshare‣ vendor
Wednesday, October 27, 2010
Copyright © 2010 Opscode, Inc - All Rights Reserved 27Wednesday, October 27, 2010
Copyright © 2010 Opscode, Inc - All Rights Reserved 28
Fog
EC2Rackspace/OpenstackTerremark/vcloudSlicehostOthers...?
Wednesday, October 27, 2010
Copyright © 2010 Opscode, Inc - All Rights Reserved 29
Knife resources
man page--helpexampleswebcasts
Wednesday, October 27, 2010
Copyright © 2010 Opscode, Inc - All Rights Reserved
Shef is Chef in IRB
30Wednesday, October 27, 2010
Copyright © 2010 Opscode, Inc - All Rights Reserved 31
cider:~ (ruby-1.9.2-p0)% shefloading configuration: /Users/jtimberman/.chef/shef.rbSession type: standaloneLoading..........................done.
This is shef, the Chef shell. Chef Version: 0.9.10 http://www.opscode.com/chef http://wiki.opscode.com/display/chef/Home
run `help' for help, `exit' or ^D to quit.
Ohai2u [email protected]!chef >
Wednesday, October 27, 2010
Copyright © 2010 Opscode, Inc - All Rights Reserved 32
chef > recipechef:recipe > file "/tmp/derailed" dochef:recipe > content "Hello world!"chef:recipe ?> end => file[/tmp/derailed] chef:recipe > run_chef[Wed, 20 Oct 2010 20:04:36 -0600] DEBUG: Processing file[/tmp/derailed] on jtimberman[Wed, 20 Oct 2010 20:04:36 -0600] INFO: Creating file[/tmp/derailed] at /tmp/derailed => true chef:recipe > IO.read("/tmp/derailed") => "Hello world!"
Write resources!
It’s just ruby!
Wednesday, October 27, 2010
Copyright © 2010 Opscode, Inc - All Rights Reserved 33
chef:recipe > search(:node, "*:*") => [node[bourbon], node[archvm.int], node[cask.int], node[barkeep.int], node[cider.int]]
Wednesday, October 27, 2010
Copyright © 2010 Opscode, Inc - All Rights Reserved
Resources/Questions
34
www.opscode.com/chefIRC and Mailing lists‣ irc.freenode.net #chef‣ lists.opscode.com
Twitter:‣ @opscode, #opschef‣ @jtimberman
Questions?
Wednesday, October 27, 2010