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
Introduction to Vagrant
Search
Carlo Costantini
June 26, 2013
Technology
2
130
Introduction to Vagrant
An overview of the components that make using vagrant worthwhile.
Carlo Costantini
June 26, 2013
Tweet
Share
More Decks by Carlo Costantini
See All by Carlo Costantini
Understanding Javascript
fifteen3
0
170
Other Decks in Technology
See All in Technology
Geospatialの世界最前線を探る [2025年版]
dayjournal
1
230
それでも私が品質保証プロセスを作り続ける理由 #テストラジオ / Why I still continue to create QA process
pineapplecandy
0
130
GoでもGUIアプリを作りたい!
kworkdev
PRO
0
150
Codexとも仲良く。CodeRabbit CLIの紹介
moongift
PRO
1
240
dbtとBigQuery MLで実現する リクルートの営業支援基盤のモデル開発と保守運用
recruitengineers
PRO
3
100
BI ツールはもういらない?Amazon RedShift & MCP Server で試みる新しいデータ分析アプローチ
cdataj
0
180
Adminaで実現するISMS/SOC2運用の効率化 〜 アカウント管理編 〜
shonansurvivors
4
460
20251007: What happens when multi-agent systems become larger? (CyberAgent, Inc)
ornew
1
310
そのWAFのブロック、どう活かす? サービスを守るための実践的多層防御と思考法 / WAF blocks defense decision
kaminashi
0
200
Introdução a Service Mesh usando o Istio
aeciopires
0
200
能登半島地震において デジタルができたこと・できなかったこと
ditccsugii
0
250
AWS Top Engineer、浮いてませんか? / As an AWS Top Engineer, Are You Out of Place?
yuj1osm
2
220
Featured
See All Featured
Measuring & Analyzing Core Web Vitals
bluesmoon
9
620
It's Worth the Effort
3n
187
28k
Scaling GitHub
holman
463
140k
Done Done
chrislema
185
16k
Automating Front-end Workflow
addyosmani
1371
200k
The World Runs on Bad Software
bkeepers
PRO
72
11k
Designing for Performance
lara
610
69k
Being A Developer After 40
akosma
91
590k
What's in a price? How to price your products and services
michaelherold
246
12k
jQuery: Nuts, Bolts and Bling
dougneiner
65
7.9k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
285
14k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
33
2.5k
Transcript
Tuesday, 25 June, 13
Tuesday, 25 June, 13
Tuesday, 25 June, 13
Tuesday, 25 June, 13
Tuesday, 25 June, 13
+ Tuesday, 25 June, 13
+ Tuesday, 25 June, 13
+ Tuesday, 25 June, 13
+ Tuesday, 25 June, 13
+ Tuesday, 25 June, 13
+ Tuesday, 25 June, 13
+ Tuesday, 25 June, 13
vagrant init vagrant up vagrant halt vagrant status vagrant suspend
vagrant resume vagrant reload vagrant provision vagrant box vagrant ssh vagrant destroy Tuesday, 25 June, 13
Vagrant::Config.run do |config| config.vm.box = “local-boxname” # config.vm.box_url = "http://domain.com/
path/to/above.box" ... config.vm.provision :puppet do |puppet| puppet.manifests_path = "manifests" puppet.manifest_file = "pyvm.pp" end end Tuesday, 25 June, 13
Vagrant::Config.run do |config| # config.vm.box = “local-boxname” config.vm.box_url = "http://domain.com/
path/to/above.box" ... config.vm.provision :puppet do |puppet| puppet.manifests_path = "manifests" puppet.manifest_file = "manifest.pp" end end Tuesday, 25 June, 13
Vagrant::Config.run do |config| config.vm.box = “local-boxname” # config.vm.box_url = "http://domain.com/
path/to/above.box" ... config.vm.provision :puppet do |puppet| puppet.manifests_path = "manifests" puppet.manifest_file = "manifest.pp" end end Tuesday, 25 June, 13
Tuesday, 25 June, 13
facter puppetmaster puppetd manifest files Tuesday, 25 June, 13
package { "nginx": ensure => installed, } service { "nginx":
enable => true, } # An erb that currently has no logic file { "/etc/nginx/nginx.conf": content => template("nginx/etc/nginx/ nginx.conf.erb"), owner => nginx, group => nginx, require => Package["nginx"], } Tuesday, 25 June, 13
package { "nginx": ensure => installed, } service { "nginx":
enable => true, } # An erb that currently has no logic file { "/etc/nginx/nginx.conf": content => template("nginx/etc/nginx/ nginx.conf.erb"), owner => nginx, group => nginx, require => Package["nginx"], } Tuesday, 25 June, 13
package { "nginx": ensure => installed, } service { "nginx":
enable => true, } # An erb that currently has no logic file { "/etc/nginx/nginx.conf": content => template("nginx/etc/nginx/ nginx.conf.erb"), owner => nginx, group => nginx, require => Package["nginx"], } Tuesday, 25 June, 13
package { "nginx": ensure => installed, } service { "nginx":
enable => true, } # An erb that currently has no logic file { "/etc/nginx/nginx.conf": content => template("nginx/etc/nginx/ nginx.conf.erb"), owner => nginx, group => nginx, require => Package["nginx"], } Tuesday, 25 June, 13
class nginx { package { "nginx": ensure => installed, }
service { "nginx": enable => true, } ... } Tuesday, 25 June, 13
include nginx include mysql include mongodb include nodejs include ...
Tuesday, 25 June, 13
Tuesday, 25 June, 13
http://www.vagrantup.com http://www.virtualbox.org http://www.vmware.com http://www.puppetlabs.com http://www.opscode.com http://www.saltstack.com http://www.gitscm.com Tuesday, 25 June,
13
http://docs.puppetlabs.com/ http://www.puppetcookbook.com/ Tuesday, 25 June, 13
carlocostantini.ca github.com/fifteen3 @fifteen3 Tuesday, 25 June, 13