~/talk

5 Things You Didn't Know About Chef

Talkat Big Ruby 2013 · on Thursday, 2013-02-28· [devops-and-delivery]
slides:none on file

Five concrete takeaways: use Chef::Util::FileEdit (or the community line cookbook) to change one line in /etc/hosts via search_file_replace_line rather than templating the whole file; use Chef::VersionConstraint for numeric x.y.z comparisons and pessimistic matches; use chef-shell recipe mode and attributes/main contexts to prototype and inspect node state; iterate run_context.resource_collection to list or mutate resources; use chef-apply to load and execute a single recipe without a full cookbook.

AI-written summary · about

  1. 0:00Introduction
  2. 3:08What is Chef
  3. 6:36In-place file editing
  4. 12:15Version matching in environments
  5. 18:16Debugging with Chef Shell
  6. 27:55Exploring resource collection
  7. 33:10Using chef-apply
  8. 38:53Learning Chef resources
  9. 39:55Bonus round and FAQ
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.