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

Puppet Book

Puppet Book

#pfcasual

Kentaro Kuribayashi

May 10, 2013
Tweet

More Decks by Kentaro Kuribayashi

Other Decks in Technology

Transcript

  1. ˒ ΦʔϓϯιʔεͳγεςϜࣗಈ؅ཧπʔϧ Puppet by mizzy ˒ Puppet Best Practice? by

    mizzy ˒ Puppetͷεεϝ by mizzy ˒ Puppet Dojo by @trombik ͜Ε·ͰͷPuppetʹؔ͢Δ೔ຊޠϦιʔε ͜Ε·Ͱ೔ຊޠॻ੶φγ
  2. $ knife configure $ knife cookbook create hello -o cookbooks

    $ $EDITOR cookbooks/hello/recipes/default.rb $ $EDITOR localhost.json $ $EDITOR solo.rb $ chef-solo -c solo.rb -j localhost.json ChefͷHello, World! // localhost.json { "run_list" : [ "recipe[hello]" ] } # solo.rb file_cache_path "/tmp/chef-solo" cookbook_path ["/home/ec2-user/chef- repo/cookbooks"] # default.rb log “Hello, World!”