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
92
about Immutable Infrastructure
chiastolite
0
86
Other Decks in Technology
See All in Technology
宇宙ベンチャーにおける最近の情シス取り組みについて
axelmizu
0
120
C++26 エラー性動作
faithandbrave
2
800
統計データで2024年の クラウド・インフラ動向を眺める
ysknsid25
2
860
Work as an App Engineer
lycorp_recruit_jp
0
310
サイボウズフロントエンドエキスパートチームについて / FrontendExpert Team
cybozuinsideout
PRO
5
38k
非機能品質を作り込むための実践アーキテクチャ
knih
5
1.6k
社外コミュニティで学び社内に活かす共に学ぶプロジェクトの実践/backlogworld2024
nishiuma
0
280
pg_bigmをRustで実装する(第50回PostgreSQLアンカンファレンス@オンライン 発表資料)
shinyakato_
0
110
開発生産性向上! 育成を「改善」と捉えるエンジニア育成戦略
shoota
2
420
事業貢献を考えるための技術改善の目標設計と改善実績 / Targeted design of technical improvements to consider business contribution and improvement performance
oomatomo
0
130
AWS環境におけるランサムウェア攻撃対策の設計
nrinetcom
PRO
0
120
20241220_S3 tablesの使い方を検証してみた
handy
4
660
Featured
See All Featured
What's in a price? How to price your products and services
michaelherold
243
12k
Intergalactic Javascript Robots from Outer Space
tanoku
270
27k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
28
2.1k
VelocityConf: Rendering Performance Case Studies
addyosmani
326
24k
Visualization
eitanlees
146
15k
Code Review Best Practice
trishagee
65
17k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
8
1.2k
GraphQLの誤解/rethinking-graphql
sonatard
67
10k
Documentation Writing (for coders)
carmenintech
66
4.5k
Producing Creativity
orderedlist
PRO
342
39k
The Language of Interfaces
destraynor
154
24k
For a Future-Friendly Web
brad_frost
175
9.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 ͷ༨໋Θ͔ͣ !
ͬͯΒ͑Δͱخ͍͠Ͱ͢ !