Contenu connexe
Similaire à Derailed chef update-oct2010
Similaire à Derailed chef update-oct2010 (20)
Derailed chef update-oct2010
- 1. Copyright © 2010 Opscode, Inc - All Rights Reserved
Speaker:
‣ joshua@opscode.com
‣ @jtimberman
‣ www.opscode.com
Joshua Timberman Technical Evangelist
1
Whats new with Chef?
Wednesday, October 27, 2010
- 2. 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
- 3. 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
- 4. Copyright © 2010 Opscode, Inc - All Rights Reserved
200 individuals
50 companies
1000+ commits!
4
Wednesday, October 27, 2010
- 5. Copyright © 2010 Opscode, Inc - All Rights Reserved 5
Wednesday, October 27, 2010
- 6. Copyright © 2010 Opscode, Inc - All Rights Reserved
Current release:
6
Wednesday, October 27, 2010
- 7. Copyright © 2010 Opscode, Inc - All Rights Reserved
0.9.10
7
Wednesday, October 27, 2010
- 8. Copyright © 2010 Opscode, Inc - All Rights Reserved 8
0.9.10
Wednesday, October 27, 2010
- 9. Copyright © 2010 Opscode, Inc - All Rights Reserved 9
0.9.12
Wednesday, October 27, 2010
- 10. Copyright © 2010 Opscode, Inc - All Rights Reserved
~20 releases
10
Wednesday, October 27, 2010
- 11. Copyright © 2010 Opscode, Inc - All Rights Reserved
Authentication refactor
11
Wednesday, October 27, 2010
- 12. Copyright © 2010 Opscode, Inc - All Rights Reserved
Search Engine Change
12
Wednesday, October 27, 2010
- 13. Copyright © 2010 Opscode, Inc - All Rights Reserved
Robustificated API
13
Wednesday, October 27, 2010
- 14. Copyright © 2010 Opscode, Inc - All Rights Reserved
LWRP
14
Wednesday, October 27, 2010
- 15. Copyright © 2010 Opscode, Inc - All Rights Reserved
LWRP
15
aws_ebs_volume
aws_elastic_ip
daemontools_service
bluepill_service
pacman_group
pacman_aur
mysql_database
Wednesday, October 27, 2010
- 16. Copyright © 2010 Opscode, Inc - All Rights Reserved
Data bags store
arbitrary data
16
Wednesday, October 27, 2010
- 17. Copyright © 2010 Opscode, Inc - All Rights Reserved 17
Wednesday, October 27, 2010
- 18. Copyright © 2010 Opscode, Inc - All Rights Reserved 18
Cookbooks are
shareable!
cookbooks.opscode.com
Wednesday, October 27, 2010
- 19. Copyright © 2010 Opscode, Inc - All Rights Reserved
Cookbook Site API
19
REST API
“knife cookbook site”
Wednesday, October 27, 2010
- 20. Copyright © 2010 Opscode, Inc - All Rights Reserved
The Opscode Platform
is a hosted Chef Server
20
http://www.opscode.com
Wednesday, October 27, 2010
- 21. Copyright © 2010 Opscode, Inc - All Rights Reserved 21
Training!
Wednesday, October 27, 2010
- 22. Copyright © 2010 Opscode, Inc - All Rights Reserved
info.opscode.com/
opentraining
22
Wednesday, October 27, 2010
- 23. Copyright © 2010 Opscode, Inc - All Rights Reserved
Training and Services
23
3 day fundamentals
5 day bootcamp
Consulting services
Webcasts, guides, support
Wednesday, October 27, 2010
- 24. Copyright © 2010 Opscode, Inc - All Rights Reserved
Command-line API
utility, Knife
24http://www.flickr.com/photos/myklroventine/3474391066/
Wednesday, October 27, 2010
- 25. Copyright © 2010 Opscode, Inc - All Rights Reserved
Knife - Chef Server API
role
node
client
cookbook
data bag
search
25
Wednesday, October 27, 2010
- 26. 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
- 27. Copyright © 2010 Opscode, Inc - All Rights Reserved 27
Wednesday, October 27, 2010
- 28. Copyright © 2010 Opscode, Inc - All Rights Reserved 28
Fog
EC2
Rackspace/Openstack
Terremark/vcloud
Slicehost
Others...?
Wednesday, October 27, 2010
- 29. Copyright © 2010 Opscode, Inc - All Rights Reserved 29
Knife resources
man page
--help
examples
webcasts
Wednesday, October 27, 2010
- 30. Copyright © 2010 Opscode, Inc - All Rights Reserved
Shef is Chef in IRB
30
Wednesday, October 27, 2010
- 31. Copyright © 2010 Opscode, Inc - All Rights Reserved 31
cider:~ (ruby-1.9.2-p0)
% shef
loading configuration: /Users/
jtimberman/.chef/shef.rb
Session type: standalone
Loading..........................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 jtimberman@cider.local!
chef >
Wednesday, October 27, 2010
- 32. Copyright © 2010 Opscode, Inc - All Rights Reserved 32
chef > recipe
chef:recipe > file "/tmp/derailed" do
chef: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
- 33. 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
- 34. Copyright © 2010 Opscode, Inc - All Rights Reserved
Resources/Questions
34
www.opscode.com/chef
IRC and Mailing lists
‣ irc.freenode.net #chef
‣ lists.opscode.com
Twitter:
‣ @opscode, #opschef
‣ @jtimberman
Questions?
Wednesday, October 27, 2010