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

BOXEN 使ってみた話

BOXEN 使ってみた話

自分の環境を構築するために BOXEN を試してみました。

65c4761d7faf76c1a05f257c9b917aaa?s=128

Yoshiyuki MIYAGI

June 14, 2013
Tweet

More Decks by Yoshiyuki MIYAGI

Other Decks in Technology

Transcript

  1. #PYFO࢖ͬͯΈͨ࿩ :PTIJZVLJ.*:"(* 13೥6݄14೔༵ۚ೔

  2. #09&/ͬͯԿ 13೥6݄14೔༵ۚ೔

  3. IUUQCPYFOHJUIVCDPN QUIT WORRYING ABOUT YOUR TOOLS. Automate the pain out

    of your development environment. Boxen installs your dependencies so you can focus on getting things done. #09&/ 13೥6݄14೔༵ۚ೔
  4. ؀ڥߏஙπʔϧͰ͢ ͨͩ͠ɺ.BDʹݶΔ HJUIVC͕ࣾ࡞ͬͨ ༻్νʔϜɾݸਓ ࠓճࢼͨ͠ͷ͸ݸਓઃఆ 13೥6݄14೔༵ۚ೔

  5. ·ͣ͸Լ४උ 9DPEFͱ ίϚϯυϥΠϯπʔϧ͸ ࣗ෼ͰೖΕͯͶɻ HJUIVC ͷΞΧ΢ϯτΛ ࡞͓ͬͯ͘ 13೥6݄14೔༵ۚ೔

  6. جຊ PINZCPYFOΛࣗ෼༻ʹ΋ͬͯ͘Δɻ IUUQTHJUIVCDPNCPYFOPVSCPYFO 1VQQFUpMF CVOEMFSͰ͍͏(FNpMF QVQQFUͱݺ͹ΕΔϨγϐΛ௥ه͢Δ͜ͱͰඞཁ ͳ෺ΛҰׅΠϯετʔϧͰ͖Δ HJUIVCʹ͍ͬͺ͍QVQQFU͕͋Δ ࣗ෼Ͱ΋࡞ΕΔ 13೥6݄14೔༵ۚ೔

  7. ྫ1VQQFUpMF github "dnsmasq", "1.0.0" github "gcc", "1.0.0" github "git", "1.2.2"

    github "homebrew", "1.1.2" github "hub", "1.0.0" github "inifile", "0.9.0", :repo => "cprice-puppet/puppetlabs-inifile" github "nginx", "1.4.0" github "nodejs", "2.2.0" github "repository", "2.0.2" github "ruby", "4.1.0" github "stdlib", "4.0.2", :repo => "puppetlabs/puppetlabs-stdlib" github "sudo", "1.0.0" 13೥6݄14೔༵ۚ೔
  8. ݸਓ༻్ͷઃఆ HJUIVCͱಉ͡Ϣʔβʔ໊ͷNBOJGFTUTϑΝΠϧ ͕࣮ߦ͞ΕΔ JODMVEFͰΠϯετʔϧ ͢Δ΋ͷΛબͿ QBDLBHF͸IPNCSFX .BDͷΞϓϦ΋ઃఆͰ͖Δ modules/people/manifests/{github username}.pp class

    people::yosshi { include dropbox include skype include iterm2::stable include chrome include emacs package { [ 'tmux', 'zsh', 'tree', 'markdown', 'wget', 'fontforge', 'the_silver_searcher' ]: } } 13೥6݄14೔༵ۚ೔
  9. ࣗۀࣗಘͳ᠘ 13೥6݄14೔༵ۚ೔

  10. طʹIPNFCSFX͕ɻ IPNFCSFXΛࣗ෼ͰೖΕͯ͠·ͬͨͨΊ CPYFOͷIPNFCSFXͱόοςΟϯά ઌʹࣗ෼ͰೖΕͨIPNFCSFXΛΞϯΠϯετʔϧ IUUQTHJTUHJUIVCDPNNYDM /opt/boxen/homebrew/bin/brew /usr/local/bin/brew 13೥6݄14೔༵ۚ೔

  11. #09&/ .BDͷ؀ڥߏஙπʔϧ CPYFO࢖͏ͳΒ࠷ॳ͔Β࢖͓͏ ৽͘͠ങͬͨΒ΍Δ ݸਓ༻్Ͱ΋νʔϜɾϓϩδΣΫτͰ΋0, ࣗ෼ͰQVQQFUॻ͍ͯ΋0, ങ͍׵͑ͨ࣌ͱ͔ɺ ϝϯόʔ͕૿͑ͨ࣌ͱ͔ศརͦ͏ .BDʹݶΔ 13೥6݄14೔༵ۚ೔

  12. ։ൃελΠϧ͕ HJUIVCࣾͱ߹͏ͳΒ ΨϯΨϯ࢖͑͹͍͍ 13೥6݄14೔༵ۚ೔

  13. ͨͩ͠ɺ .BDʹݶΔ 13೥6݄14೔༵ۚ೔

  14. ࢀߟ #09&/ IUUQCPYFOHJUIVCDPN IUUQTHJUIVCDPNCPYFO #PYFO࢖Θͳͯ͘΋ڐ͞ΕΔͷ͸೥·ͰͩΑͶ IUUQRJJUBDPNJUFNTDGEFFGDD 13೥6݄14೔༵ۚ೔