$30 off During Our Annual Pro Sale. View Details »
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Vagrant + chef
Search
Naoya Ito
February 22, 2013
Technology
37
7.1k
Vagrant + chef
Naoya Ito
February 22, 2013
Tweet
Share
More Decks by Naoya Ito
See All by Naoya Ito
Haskell を武器にして挑む競技プログラミング ─ 操作的思考から意味モデル思考へ
naoya
6
1.4k
Haskell でアルゴリズムを抽象化する / 関数型言語で競技プログラミング
naoya
21
7.1k
Functional TypeScript
naoya
17
6.5k
TypeScript 関数型スタイルでバックエンド開発のリアル
naoya
75
36k
シェルの履歴とイクンリメンタル検索を使う
naoya
16
6.4k
20230227-engineer-type-talk.pdf
naoya
91
79k
関数型プログラミングと型システムのメンタルモデル
naoya
63
110k
TypeScript による GraphQL バックエンド開発
naoya
29
36k
フロントエンドのパラダイムを参考にバックエンド開発を再考する / TypeScript による GraphQL バックエンド開発
naoya
67
24k
Other Decks in Technology
See All in Technology
エンジニアリングをやめたくないので問い続ける
estie
2
1k
評価駆動開発で不確実性を制御する - MLflow 3が支えるエージェント開発
databricksjapan
1
110
Microsoft Agent 365 を 30 分でなんとなく理解する
skmkzyk
1
1k
今年のデータ・ML系アップデートと気になるアプデのご紹介
nayuts
1
250
新 Security HubがついにGA!仕組みや料金を深堀り #AWSreInvent #regrowth / AWS Security Hub Advanced GA
masahirokawahara
1
1.7k
20251209_WAKECareer_生成AIを活用した設計・開発プロセス
syobochim
5
1.5k
Kubernetes Multi-tenancy: Principles and Practices for Large Scale Internal Platforms
hhiroshell
0
120
コミューンのデータ分析AIエージェント「Community Sage」の紹介
fufufukakaka
0
470
re:Invent 2025 ~何をする者であり、どこへいくのか~
tetutetu214
0
200
OCI Oracle Database Services新機能アップデート(2025/09-2025/11)
oracle4engineer
PRO
1
100
AI時代の開発フローとともに気を付けたいこと
kkamegawa
0
2.8k
年間40件以上の登壇を続けて見えた「本当の発信力」/ 20251213 Masaki Okuda
shift_evolve
PRO
1
100
Featured
See All Featured
Optimising Largest Contentful Paint
csswizardry
37
3.5k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.2k
KATA
mclloyd
PRO
32
15k
Imperfection Machines: The Place of Print at Facebook
scottboms
269
13k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.5k
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
132
19k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
37
2.6k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
508
140k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
7.9k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
3.8k
It's Worth the Effort
3n
187
29k
Transcript
WBHSBOU DIFG !OBPZB@JUP
DIFG
ʮ໘നͦ͏ʯ
ࢼݧڥ
̏ͰΠφϑ cf: h&ps://speakerdeck.com/mirakui/quan-‐zi-‐dong-‐parameta:yuningusan
WBHSBOU
None
None
WBHSBOUͷಋೖ 7JSVUBM#PYΛࣄલʹ͍Ε͓ͯ͜͏ $ gem install vagrant $
vagrant box add centos http:// developer.nrel.gov/downloads/vagrant-‐boxes/ CentOS-‐6.3-‐x86_64-‐v2013101.box
$ vagrant init centos $ vagrant up
None
ಥવͷࢼݧڥ
$ vagrant ssh $ vagrant halt $ vagrant
reload
SNrSG ͯ҆͠৺
$ vagrant gem install sahara
$ vagrant sandbox on $ vagrant sandbox rollback
$ vagrant sandbox commit
LOJGFTPMP
ϩʔΧϧ͔ΒDIFG TPMPୟ͍͍͍ͯͷ খֶੜ·Ͱ
None
None
None
# Vagrantfile Vagrant::Config.run do |config| config.vm.box =
"base" config.vm.network :hostonly, "192.168.50.10" # ~/.ssh/config Host 10.0.2.* IdentityFile ~/.vagrant.d/insecure_private_key User vagrant
$ gem install knife-‐solo
$ knife solo init chef-‐solo $ cd chef-‐solo
$ knife cookbook create setup –o site-‐ cookbooks
$ knife solo prepare 192.168.50.10 $ knife solo cook
192.168.50.10
None
# Why Run $ knife solo cook <host> -‐W
# Since knife-‐solo 0.3.0 $ knife solo cook <host> -‐o your::recipe
• WBHSBOUͱDIFGͷ࿈ܞ • #FSLTIFMG
άάϨΧ SZ
vagrant naoya ݕࡧ
ͱΓ͋͑ͣूதઢ
͝੩ௌ͋Γ͕ͱ͏͟͝ ͍·ͨ͠