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.3k
esaを使って暗黙知を減らす取り組み
chiastolite
2
3.9k
git-inside
chiastolite
0
230
sushi for common people
chiastolite
0
320
Social Coding with GitHub
chiastolite
0
110
Low Level Git
chiastolite
0
80
about Immutable Infrastructure
chiastolite
0
84
Other Decks in Technology
See All in Technology
一生覚えておきたい「システム開発=コミュニケーション」〜初めての実務案件振り返りLT〜
maimyyym
1
170
長期間TiDBを使ってきた話 @ 私たちはなぜNewSQLを使うのかTiDB選定5社が語る選定理由と活用LT / Experiences with TiDB Over Time
chibiegg
3
910
KubeConにproposalを送りたい人へのアドバイス
sat
PRO
3
260
検証を通して見えてきたTiDBの性能特性
lycorptech_jp
PRO
7
3.8k
家族アルバム みてねにおけるGrafana活用術 / Grafana Meetup Japan Vol.1 LT
isaoshimizu
1
780
LLM開発・活用の舞台裏@2024.04.25
yushin_n
2
550
地理空間データ可視化・解析・活用ソリューション Pacific Spatial Solutions (PSS)
pacificspatialsolutions
0
300
本当のAWS基礎
toru_kubota
0
530
Google Cloud Next '24 Recap(Cloud Run/k8s)
mokocm
0
250
Postman v10リリース後を振り返る / Looking back at Postman v10 after release
yokawasa
1
160
KubeCon EU 2024 Recap “Kubernetes Policy Time Machine: Where to Next?”
ryysud
0
220
Azure犬駆動開発の記録/GlobalAzureFukuoka2024_20240420
nina01
1
220
Featured
See All Featured
The Invisible Side of Design
smashingmag
294
49k
A Philosophy of Restraint
colly
197
16k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
9
8.3k
StorybookのUI Testing Handbookを読んだ
zakiyama
13
4.6k
The Mythical Team-Month
searls
216
42k
Pencils Down: Stop Designing & Start Developing
hursman
117
11k
What's new in Ruby 2.0
geeforr
337
31k
How to name files
jennybc
65
93k
Code Review Best Practice
trishagee
55
15k
How To Stay Up To Date on Web Technology
chriscoyier
782
250k
Fashionably flexible responsive web design (full day workshop)
malarkey
398
65k
Fantastic passwords and where to find them - at NoRuKo
philnash
37
2.5k
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 ͷ༨໋Θ͔ͣ !
ͬͯΒ͑Δͱخ͍͠Ͱ͢ !