Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
vagrant-itamae
Search
Hiroyuki Morita
December 09, 2015
Technology
1
1.6k
vagrant-itamae
Itamae meetup #1 LT
Hiroyuki Morita
December 09, 2015
Tweet
Share
More Decks by Hiroyuki Morita
See All by Hiroyuki Morita
Rubyistなら知っておきたい継承の話 / The inheritance for Rubyist
chiastolite
4
1.4k
esaを使って暗黙知を減らす取り組み
chiastolite
2
4.2k
git-inside
chiastolite
0
250
sushi for common people
chiastolite
0
330
Social Coding with GitHub
chiastolite
0
140
Low Level Git
chiastolite
0
100
about Immutable Infrastructure
chiastolite
0
87
Other Decks in Technology
See All in Technology
Eight Engineering Unit 紹介資料
sansan33
PRO
0
3.2k
AIエージェント実践集中コース LT
okaru
1
120
GitHub Coding Agent 概要
kkamegawa
1
1.8k
Roo Codeにすべてを委ねるためのルール運用
pharma_x_tech
1
230
データ戦略部門 紹介資料
sansan33
PRO
1
3.1k
CSSDay, Amsterdam
brucel
0
150
データプレーンプログラミングとは? DPU&スイッチASICの開発経験から語る
ebiken
PRO
1
270
テストを実施する前に考えるべきテストの話 / Thinking About Testing Before You Test
nihonbuson
PRO
15
2.1k
Swiftは最高だよの話
yuukiw00w
2
290
Flutterアプリを⾃然⾔語で操作する
yukisakai1225
0
160
AIの電力問題を概観する
rmaruy
1
220
AIコードエディタは開発を変えるか?Cursorをチームに導入して1ヶ月経った本音
ota1022
1
710
Featured
See All Featured
The Art of Programming - Codeland 2020
erikaheidi
54
13k
Statistics for Hackers
jakevdp
799
220k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
31
1.2k
Faster Mobile Websites
deanohume
307
31k
GitHub's CSS Performance
jonrohan
1031
460k
Designing for humans not robots
tammielis
253
25k
Six Lessons from altMBA
skipperchong
28
3.8k
Git: the NoSQL Database
bkeepers
PRO
430
65k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
42
2.3k
Rebuilding a faster, lazier Slack
samanthasiow
81
9k
Typedesign – Prime Four
hannesfritz
41
2.6k
Visualization
eitanlees
146
16k
Transcript
vagrant-itamae Itamae meetup #1 Dec 9th, 2015
@chiastolite ా༟೭ Unicon Pte.Ltd. app engineer
ࠓ Ansible ॻ͍͔ͯΒདྷ·ͨ͠
vagrant-itamae ͱ
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
Ҋ֎લ͔Β͋Δ • Itamae • August 5, 2014(1.0.0.beta1) • vagrant-itamae •
August 21, 2014(0.0.1)
itamae plugin͑Δͷʁ
plugin ͳΜͱ͔͑Δ vagrant෦ʹgemΛ͍࣋ͬͯΔͷͰ vagrant plugin ίϚϯυͰೖΕΔඞཁ͕͋Δ $ vagrant plugin install
itamae-plugin-recipe-rbenv
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
͝ଘ͡ͷํ ଟ͍ͱࢥ͍·͕͢
ItamaevagrantΛαϙʔτ $ itamae ssh --vagrant
Itamaeͷvagrantαϙʔτͱͷൺֱ • vagrant-itamae • 26321412b637b1635c93ceb197dfa932e108cf69 • Thu Aug 7 01:36:19
2014 +0900 • Itamae • 1d3ec754e2df6ae841390670efa364fcf097e87b • Wed Aug 27 16:08:38 2014 +0900
vagrant-itamae ͷ΄͏͕ઌʂʂ
vagrant-itamaeݩ ItamaeͷvagrantαϙʔτຊՈ
ͲͬͪΛ͍͍͑ͷ͔ʁ
ItamaeͰ͍͍Μ͡Όͳ͍Ͱ͔͢Ͷ…?
ͳΜͱ͔ߟ͑ͨ vagrant-itamae ͕ศརͳγʔϯ
rubyΛೖΕͳ͍͍ͯ͘ ָͳγʔϯଟ͋Δ • Windowsͷਓ • Rubyist͡Όͳ͍͚Ͳitamae͍͍ͨਓ
Vagrant ͷ multi-machineͱͷ૬ੑ ͍͍ Vagrant.configure(2) do |config| config.vm.define :web config.vm.define
:db end
Vagrant ͷ multi-machineͱͷ૬ੑ ͍͍ • itamae • vagrant up(provision) •
itamae • itamae ssh --vagrant --host web • itamae ssh --vagrant --host db
ଞͷॴࣗͰݟ͚ͭͯཉ͍͠ʂ • ͳΜ͔͋ͬͨΒڭ͍͑ͯͩ͘͞…
༨ஊͰ͕͢
Vagrant ͕ແ͘ͳΔΒ͍͠
@ryot_a_rai ͞Μͷൃද Ͱͼͬ͘Γͨ͠ΜͰ͕͢
itamae ssh ͕ແ͘ͳͬͯࢮʹ·͢
vagrant-itamae ͷ༨໋Θ͔ͣ !
ͬͯΒ͑Δͱخ͍͠Ͱ͢ !