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.5k
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.1k
git-inside
chiastolite
0
250
sushi for common people
chiastolite
0
330
Social Coding with GitHub
chiastolite
0
140
Low Level Git
chiastolite
0
94
about Immutable Infrastructure
chiastolite
0
86
Other Decks in Technology
See All in Technology
FinJAWS_reinvent2024_recap_database
asahihidehiko
2
130
JuliaTokaiとJuliaLangJaの紹介 for NGK2025S
antimon2
1
140
メールヘッダーを見てみよう
hinono
0
130
【JAWS-UG大阪 reInvent reCap LT大会 サンバが始まったら強制終了】“1分”で初めてのソロ参戦reInventを数字で振り返りながら反省する
ttelltte
0
160
デザインシステムを始めるために取り組んだこと - TechTrain x ゆめみ ここを意識してほしい!リファクタリング勉強会
kajitack
2
240
月間60万ユーザーを抱える 個人開発サービス「Walica」の 技術スタック変遷
miyachin
1
600
Unsafe.BitCast のすゝめ。
nenonaninu
0
200
RubyでKubernetesプログラミング
sat
PRO
4
160
2024AWSで個人的にアツかったアップデート
nagisa53
1
110
2025年のARグラスの潮流
kotauchisunsun
0
870
あなたの人生も変わるかも?AWS認定2つで始まったウソみたいな話
iwamot
3
880
dbtを中心にして組織のアジリティとガバナンスのトレードオンを考えてみた
gappy50
0
350
Featured
See All Featured
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
656
59k
RailsConf 2023
tenderlove
29
980
Learning to Love Humans: Emotional Interface Design
aarron
274
40k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
28
4.5k
How to Ace a Technical Interview
jacobian
276
23k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
Measuring & Analyzing Core Web Vitals
bluesmoon
5
210
Building a Modern Day E-commerce SEO Strategy
aleyda
38
7k
BBQ
matthewcrist
85
9.4k
Writing Fast Ruby
sferik
628
61k
Java REST API Framework Comparison - PWX 2021
mraible
28
8.3k
The Pragmatic Product Professional
lauravandoore
32
6.4k
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 ͷ༨໋Θ͔ͣ !
ͬͯΒ͑Δͱخ͍͠Ͱ͢ !