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
120
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
インフラとバックエンドとフロントエンドをくまなく調べて遅いアプリを早くした件
tubone24
1
430
開発生産性を上げながらビジネスも30倍成長させてきたチームの姿
kamina_zzz
2
1.7k
AWS Lambda のトラブルシュートをしていて思うこと
kazzpapa3
2
180
The Role of Developer Relations in AI Product Success.
giftojabu1
0
140
テストコード品質を高めるためにMutation Testingライブラリ・Strykerを実戦導入してみた話
ysknsid25
7
2.7k
Amazon CloudWatch Network Monitor のススメ
yuki_ink
1
210
これまでの計測・開発・デプロイ方法全部見せます! / Findy ISUCON 2024-11-14
tohutohu
3
370
Application Development WG Intro at AppDeveloperCon
salaboy
0
190
オープンソースAIとは何か? --「オープンソースAIの定義 v1.0」詳細解説
shujisado
10
1.1k
飲食店データの分析事例とそれを支えるデータ基盤
kimujun
0
160
Oracle Cloud Infrastructureデータベース・クラウド:各バージョンのサポート期間
oracle4engineer
PRO
28
13k
【Startup CTO of the Year 2024 / Audience Award】アセンド取締役CTO 丹羽健
niwatakeru
0
1.3k
Featured
See All Featured
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
8
900
Reflections from 52 weeks, 52 projects
jeffersonlam
346
20k
Ruby is Unlike a Banana
tanoku
97
11k
Thoughts on Productivity
jonyablonski
67
4.3k
Optimising Largest Contentful Paint
csswizardry
33
2.9k
Stop Working from a Prison Cell
hatefulcrawdad
267
20k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
109
49k
How to Ace a Technical Interview
jacobian
276
23k
Fashionably flexible responsive web design (full day workshop)
malarkey
405
65k
Designing the Hi-DPI Web
ddemaree
280
34k
Gamification - CAS2011
davidbonilla
80
5k
Become a Pro
speakerdeck
PRO
25
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