Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Chef and puppet

Chef and puppet

A basic, beginner's introduction to chef and puppet. Credit to James Tan as I borrowed some of his excellent slides, https://speakerdeck.com/jamestyj/devops-puppet-and-chef.

D3630c5a12aa3e85748670729444d5a9?s=128

Jonathan Wallace

September 03, 2013
Tweet

Transcript

  1. Chef and Puppet Tuesday, September 3, 13

  2. Tonight’s plan • Why? • Underlying principles (abstraction layer gives

    us idempotency) • Examples of Chef and Puppet Tuesday, September 3, 13
  3. Why? Tuesday, September 3, 13 in the beginning was the

    script..
  4. Tuesday, September 3, 13 Anyone recognize this?

  5. Tuesday, September 3, 13

  6. Tuesday, September 3, 13

  7. Tuesday, September 3, 13

  8. Tuesday, September 3, 13 What happens if I need to

    switch to another cloud provider? AWS to Rackspace? What happens if I switch distributions? from CentOS to Debian? What if I need to upgrade my distribution?
  9. Tuesday, September 3, 13 I know, let’s build an intermediate

    layer!!!
  10. Tuesday, September 3, 13

  11. Tuesday, September 3, 13

  12. Tuesday, September 3, 13 What else can we get from

    an abstraction layer?
  13. idempotent • the system converges on a stable state no

    matter how many times chef or puppet have been run Tuesday, September 3, 13 idempotency
  14. Infrastructure as Code • repeatable • scalable • maintainable (VCS,

    code reviews, testable!) Tuesday, September 3, 13
  15. Reduce REUSE Recycle (slides borrowed from https://speakerdeck.com/ jamestyj/devops-puppet-and-chef Tuesday, September

    3, 13
  16. Tuesday, September 3, 13

  17. Tuesday, September 3, 13

  18. Tuesday, September 3, 13

  19. Tuesday, September 3, 13

  20. Brief Interlude anatomy of chef and puppet runs Tuesday, September

    3, 13
  21. Puppet Tuesday, September 3, 13

  22. Chef Tuesday, September 3, 13

  23. Tuesday, September 3, 13

  24. Tuesday, September 3, 13

  25. Tuesday, September 3, 13

  26. Tuesday, September 3, 13

  27. Tuesday, September 3, 13

  28. Not just chef and puppet Tuesday, September 3, 13

  29. Tuesday, September 3, 13 ansible, chef, puppet, cfengine, salt,...

  30. Credits • https://speakerdeck.com/jamestyj/devops-puppet-and-chef • https://speakerdeck.com/hsatac/diff-puppet-chef • http://www.opscode.com/chef/ • http://puppetlabs.com/ •

    http://docs.puppetlabs.com/learning/index.html • http://blog.afistfulofservers.net/post/2011/12/30/cfengine-puppet- and-chef-part-3/ • https://en.wikipedia.org/wiki/ Comparison_of_open_source_configuration_management_software • http://docs.opscode.com/essentials_nodes_chef_run.html Tuesday, September 3, 13
  31. Get to know me! • software developer (Ruby, Rails, C,

    etc) • http://blog.jonathanrwallace.com/about • jonathan.wallace@gmail.com • @jonathanwallace Tuesday, September 3, 13 tweet out the slides