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

vagrant-itamae

 vagrant-itamae

Itamae meetup #1 LT

Hiroyuki Morita

December 09, 2015
Tweet

More Decks by Hiroyuki Morita

Other Decks in Technology

Transcript

  1. vagrant-itamae ͱ͸ • vagrant ͷ provisioner plug-in Vagrant.configure(2) do |config|

    config.vm.provision :itamae do |config| ~~~~~~~ <= ͩ͜͜Α͜͜ config.recipes = ['./recipe.rb'] config.json = './node.json' config.sudo = true end end
  2. vagrant-multiplug Λ࢖͏ͱศར $ vagrant plugin install vagrant-multiplug Vagrant.configure("2") do |config|

    config.vm.box = "ubuntu/trusty64" config.plugin.add_dependency "vagrant-itamae" config.plugin.add_dependency "itamae-plugin-recipe-rbenv" end VagrantfileͰ࢖͏ϓϥάΠϯΛఆٛ͢Δ - Qiita
  3. Itamaeͷvagrantαϙʔτͱͷൺֱ • vagrant-itamae • 26321412b637b1635c93ceb197dfa932e108cf69 • Thu Aug 7 01:36:19

    2014 +0900 • Itamae • 1d3ec754e2df6ae841390670efa364fcf097e87b • Wed Aug 27 16:08:38 2014 +0900
  4. Vagrant ͷ multi-machineͱͷ૬ੑ ͸͍͍ • itamae • vagrant up(provision) •

    itamae • itamae ssh --vagrant --host web • itamae ssh --vagrant --host db