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

Vagrant + Chef-solo

Vagrant + Chef-solo

Eca2f293c36947e2a8944b39e57d105c?s=128

けんご

May 29, 2013
Tweet

Transcript

  1. 1)1FSͰ΋Ͱ͖Δ 7BHSBOU $IFGTPMP @tkengo

  2. ཱੴɹݡޗ !ULFOHP ࣗݾ঺հ גࣜձࣾQBQFSCPZDP

  3. ໨࣍ 7BHSBOUͷ঺հ $IFGTPMPͷ঺հ ϖύϘ ෱Ԭ Ͱͷ׆༻ࣄྫ

  4.  7BHSBOU

  5. ˞ެࣜαΠτΑΓ

  6. WBHSBOUJOJUCPYOBNFQBUIUPCPY WBHSBOUVQ WBHSBOUTTI WBHSBOUIBMU WBHSBOUEFTUSPZ

  7. 7JSUVBM#PY ͱ 7.8BSF ʹରԠ

  8.  $IFG

  9. ˞ެࣜαΠτΑΓ $IFGJTBOBVUPNBUJPOQMBUGPSNUIBU USBOTGPSNTJOGSBTUSVDUVSFJOUPDPEF

  10. Ҿ༻ɿIUUQXXXPQTDPEFDPNDIFGIPXXPSLT

  11. DIFGTPMPDdTPMPSCKdOPEFKTPO

  12.  ׆༻ࣄྫ

  13. ɾɾɾͷલʹ

  14. 7BHSBOU $IFGTPMP Λ࢖͏લ͸ͱݴ͏ͱ

  15. །Ұͷ։ൃαʔόʔʹ શһ͕4BNCBͰ઀ଓ 7BHSBOU $IFGTPMPΛ࢖͏લ

  16. ສ͕Ұαʔόʔ͕յΕͨΒ ୭΋։ൃͰ͖ͳ͍ 7BHSBOU $IFGTPMPΛ࢖͏લ

  17. ωοτϫʔΫ͕੾ΕͨΒ Ϛ΢ϯτ͕ղআ͞ΕΔ ˞ϊʔτ1$Λ࣋ͬͯଧͪ߹Θͤʹߦ͘ͱ͖ͳͲ 7BHSBOU $IFGTPMPΛ࢖͏લ

  18. ։ൃαʔόʔʹԿ͕ೖ͍ͬͯΔ͔ ୭΋஌Βͳͯ͘ൿ఻ͷλϨͩΒ͚ 7BHSBOU $IFGTPMPΛ࢖͏લ

  19. HJU͕΍ͨΒॏ͍ 7BHSBOU $IFGTPMPΛ࢖͏લ

  20. ·ͣࢼͯ͠Έͨ͜ͱ

  21. ࣗ෼ͷϚγϯʹඞཁͳ΋ͷΛશ෦͍Εͯ ࣗ෼ͷϚγϯΛαʔόʔʹͯ͠ΈΔ

  22. ࣗ෼ͷϚγϯʹඞཁͳ΋ͷΛશ෦͍Εͯ ࣗ෼ͷϚγϯΛαʔόʔʹͯ͠ΈΔ ✓"QBDIF

  23. ࣗ෼ͷϚγϯʹඞཁͳ΋ͷΛશ෦͍Εͯ ࣗ෼ͷϚγϯΛαʔόʔʹͯ͠ΈΔ ✓"QBDIF ✓1)1

  24. ࣗ෼ͷϚγϯʹඞཁͳ΋ͷΛશ෦͍Εͯ ࣗ෼ͷϚγϯΛαʔόʔʹͯ͠ΈΔ ✓"QBDIF ✓1)1 ✓1&"3

  25. ࣗ෼ͷϚγϯʹඞཁͳ΋ͷΛશ෦͍Εͯ ࣗ෼ͷϚγϯΛαʔόʔʹͯ͠ΈΔ ✓"QBDIF ✓1)1 ✓1&"3 ✓.Z42-

  26. ࣗ෼ͷϚγϯʹඞཁͳ΋ͷΛશ෦͍Εͯ ࣗ෼ͷϚγϯΛαʔόʔʹͯ͠ΈΔ ✓"QBDIF ✓1)1 ✓1&"3 ✓.Z42- FUD

  27. ๏໘౗͔ͬͨ͘͞

  28. ๏໘౗͔ͬͨ͘͞ ๏ࣗ෼ͷϚγϯ͕ԚΕΔ

  29. ๏໘౗͔ͬͨ͘͞ ๏ࣗ෼ͷϚγϯ͕ԚΕΔ ๏֤ਓͷϚγϯʹೖͬͯΔύοέʔδͷҧ͍ͳͲͰ खॱ௨Γʹ΍ͬͯ΋ίϯύΠϧ͕͏·͍ͬͨ͘Γ ͍͔ͳ͔ͬͨΓ

  30. ๏໘౗͔ͬͨ͘͞ ๏ࣗ෼ͷϚγϯ͕ԚΕΔ ๏֤ਓͷϚγϯʹೖͬͯΔύοέʔδͷҧ͍ͳͲͰ खॱ௨Γʹ΍ͬͯ΋ίϯύΠϧ͕͏·͍ͬͨ͘Γ ͍͔ͳ͔ͬͨΓ ๏ͨ·ʹ͸8JOEPXTͷࣄ΋ࢥ͍ग़͍ͯ͋͛ͯͩ͘͠͞  .BDͷखॱ͔͠੔උ͞Εͯͳ͔ͬͨ

  31. ͦ͜Ͱ

  32. ʊਓਓਓਓਓਓʊ ʼɹ7BHSBOUɹʻ ʉ:?:?:?:?:ʉ

  33. ·ͣ͸7BHSBOUͷCPYΛ࡞ͬͯΈΔ ݩͱͳΔCPY͸͜͜ʹͨ͘͞Μ͋Γ·͢ IUUQXXXWBHSBOUCPYFT

  34. WBHSBOUJOJUNVVNVVIUUQIPHFCPY ·ͣ͸7BHSBOUͷCPYΛ࡞ͬͯΈΔ ݩͱͳΔCPY͸͜͜ʹͨ͘͞Μ͋Γ·͢ IUUQXXXWBHSBOUCPYFT

  35. WBHSBOUJOJUNVVNVVIUUQIPHFCPY WBHSBOUVQ ·ͣ͸7BHSBOUͷCPYΛ࡞ͬͯΈΔ ݩͱͳΔCPY͸͜͜ʹͨ͘͞Μ͋Γ·͢ IUUQXXXWBHSBOUCPYFT

  36. 7BHSBOUͰ࡞ͬͨ7.ʹ44)ͰϩάΠϯ 7.ͷதʹ։ൃʹඞཁͱͳΔύοέʔδΛ શ෦Πϯετʔϧ͍͖ͯ͠·͢ ˞͜ͷ࣌ɺखॱʹ·ͱΊ͓͚ͯ͹ศརͰ͢ɻ

  37. WBHSBOUTTI TV 7BHSBOUͰ࡞ͬͨ7.ʹ44)ͰϩάΠϯ 7.ͷதʹ։ൃʹඞཁͱͳΔύοέʔδΛ શ෦Πϯετʔϧ͍͖ͯ͠·͢ ˞͜ͷ࣌ɺखॱʹ·ͱΊ͓͚ͯ͹ศརͰ͢ɻ

  38. WBHSBOUTTI TV ZVNJOTUBMMZHJUMJCIPHFEFWFM 7BHSBOUͰ࡞ͬͨ7.ʹ44)ͰϩάΠϯ 7.ͷதʹ։ൃʹඞཁͱͳΔύοέʔδΛ શ෦Πϯετʔϧ͍͖ͯ͠·͢ ˞͜ͷ࣌ɺखॱʹ·ͱΊ͓͚ͯ͹ศརͰ͢ɻ

  39. WBHSBOUTTI TV ZVNJOTUBMMZHJUMJCIPHFEFWFM "QBDIFͷίϯύΠϧͳͲ 7BHSBOUͰ࡞ͬͨ7.ʹ44)ͰϩάΠϯ 7.ͷதʹ։ൃʹඞཁͱͳΔύοέʔδΛ શ෦Πϯετʔϧ͍͖ͯ͠·͢ ˞͜ͷ࣌ɺखॱʹ·ͱΊ͓͚ͯ͹ศརͰ͢ɻ

  40. WBHSBOUTTI TV ZVNJOTUBMMZHJUMJCIPHFEFWFM "QBDIFͷίϯύΠϧͳͲ 1)1ͷίϯύΠϧͳͲ 7BHSBOUͰ࡞ͬͨ7.ʹ44)ͰϩάΠϯ 7.ͷதʹ։ൃʹඞཁͱͳΔύοέʔδΛ શ෦Πϯετʔϧ͍͖ͯ͠·͢ ˞͜ͷ࣌ɺखॱʹ·ͱΊ͓͚ͯ͹ศརͰ͢ɻ

  41. WBHSBOUTTI TV ZVNJOTUBMMZHJUMJCIPHFEFWFM "QBDIFͷίϯύΠϧͳͲ 1)1ͷίϯύΠϧͳͲ .Z42-ͷίϯύΠϧͳͲ 7BHSBOUͰ࡞ͬͨ7.ʹ44)ͰϩάΠϯ 7.ͷதʹ։ൃʹඞཁͱͳΔύοέʔδΛ શ෦Πϯετʔϧ͍͖ͯ͠·͢ ˞͜ͷ࣌ɺखॱʹ·ͱΊ͓͚ͯ͹ศརͰ͢ɻ

  42. 7BHSBOUͰ࡞ͬͨ7.͸ύοέʔδϯά͠ ͯ഑෍͢Δ͜ͱ͕Ͱ͖·͢

  43. WBHSBOUQBDLBHF 7BHSBOUͰ࡞ͬͨ7.͸ύοέʔδϯά͠ ͯ഑෍͢Δ͜ͱ͕Ͱ͖·͢

  44. WBHSBOUQBDLBHF NWQBDLBHFCPYQBUIUPTIBSFE@GPMEFS 7BHSBOUͰ࡞ͬͨ7.͸ύοέʔδϯά͠ ͯ഑෍͢Δ͜ͱ͕Ͱ͖·͢

  45. ։ൃ؀ڥΛ࡞Δ࣌͸ύοέʔδϯά͞Εͨ CPYΛ௥Ճͯ͠7.Λىಈ͢Ε͹0,

  46. ։ൃ؀ڥΛ࡞Δ࣌͸ύοέʔδϯά͞Εͨ CPYΛ௥Ճͯ͠7.Λىಈ͢Ε͹0, WBHSBOUJOJUNVVNVVQBUIUP TIBSFE@GPMEFSQBDLBHFCPY

  47. ։ൃ؀ڥΛ࡞Δ࣌͸ύοέʔδϯά͞Εͨ CPYΛ௥Ճͯ͠7.Λىಈ͢Ε͹0, WBHSBOUJOJUNVVNVVQBUIUP TIBSFE@GPMEFSQBDLBHFCPY WBHSBOUVQ

  48. ਺े෼Ͱ؀ڥߏங׬ྃ

  49. ͜ΕͰউͭΔʂʂ

  50. ͨͩɾɾɾ ໰୊͕ൃ֮

  51. CPYΛ࠶ݱ͢Δखॱ͕ ࠶࣮ߦՄೳͳܗͰͷ͜Βͳ͍

  52. ➜ཁ͢ΔʹCPY͕ͿͬյΕͨ࣌΍04ͷόʔδϣϯΛ ɹ্͍͛ͨ࣌ͳͲɺ·͔ͨΒखಈͰ࡞Γ௚͢ඞཁ͕͋Δ CPYΛ࠶ݱ͢Δखॱ͕ ࠶࣮ߦՄೳͳܗͰͷ͜Βͳ͍

  53. ➜ཁ͢ΔʹCPY͕ͿͬյΕͨ࣌΍04ͷόʔδϣϯΛ ɹ্͍͛ͨ࣌ͳͲɺ·͔ͨΒखಈͰ࡞Γ௚͢ඞཁ͕͋Δ ➜௥Ճͷύοέʔδ΍ઃఆ͕ඞཁʹͳΔ౓ʹ7BHSBOUͷ ɹύοέʔδϯάΛͯ͠ڞ༗ϑΥϧμʹஔ͔ͳ͖Ό͍͚ͳ͍ CPYΛ࠶ݱ͢Δखॱ͕ ࠶࣮ߦՄೳͳܗͰͷ͜Βͳ͍

  54. ͦ͜Ͱ

  55. ʊਓਓਓਓਓਓਓਓਓਓਓਓʊ ʼɹ7BHSBOU $IFGTPMPɹʻ ʉ:?:?:?:?:?:?:?:?:?:ʉ

  56. 7BHSBOUͷCPYΛ࡞Δ࣌ʹ΍ͬͨखॱΛ $IFGͷϨγϐʹམͱ͜͠ΜͰ͍͘ υΩϡϝϯτ͸ެࣜαΠτ͕ৄ͍͠Ͱ͢ IUUQEPDTPQTDPEFDPN

  57. ύοέʔδຖʹΫοΫϒοΫΛ࡞Δͷ͕Α͛͞ DPPLCPPLT  QIQ  BQBDIF  NZTRM  QIQVOJU

     NVVNVV 1)1ΛΠϯετʔϧ͢ΔͨΊͷϨγϐ BQBDIFΛΠϯετʔϧ͢ΔͨΊͷϨγϐ NZTRMΛΠϯετʔϧ͢ΔͨΊͷϨγϐ QIQVOJUΛΠϯετʔϧ͢ΔͨΊͷϨγϐ ֤छઃఆͳͲΛߦ͏Ϩγϐ
  58. 7BHSBOUͷઃఆϑΝΠϧͷ7BHSBOUpMFʹ QSPWJTJPOͷઃఆΛ௥Ճ

  59. 7.Λ࠶ىಈ

  60. ΋͘͠͸7.Λ࠶ىಈ͠ͳͯ͘΋ ҎԼͷίϚϯυͰ$IFGͷϨγϐΛ ಡΈࠐΜͰࣗಈతʹద༻ WBHSBOUQSPWJTJPO

  61. ͋Γ͕ͱ͏ ͍͟͝·ͨ͠