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
DDD集約とサービスコンテキスト境界との関係性
pandayumi
3
280
5分でカオスエンジニアリングを分かった気になろう
pandayumi
0
240
データアナリストからアナリティクスエンジニアになった話
hiyokko_data
2
440
今!ソフトウェアエンジニアがハードウェアに手を出すには
mackee
12
4.7k
サラリーマンの小遣いで作るtoCサービス - Cloudflare Workersでスケールする開発戦略
shinaps
2
430
研究開発と製品開発、両利きのロボティクス
youtalk
1
520
AI開発ツールCreateがAnythingになったよ
tendasato
0
130
生成AIでセキュリティ運用を効率化する話
sakaitakeshi
0
650
「Linux」という言葉が指すもの
sat
PRO
4
130
機械学習を扱うプラットフォーム開発と運用事例
lycorptech_jp
PRO
0
230
なぜスクラムはこうなったのか?歴史が教えてくれたこと/Shall we explore the roots of Scrum
sanogemaru
5
1.6k
allow_retry と Arel.sql / allow_retry and Arel.sql
euglena1215
1
160
Featured
See All Featured
jQuery: Nuts, Bolts and Bling
dougneiner
64
7.9k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
358
30k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
31
2.2k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
3.1k
The Straight Up "How To Draw Better" Workshop
denniskardys
236
140k
What's in a price? How to price your products and services
michaelherold
246
12k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
50k
Raft: Consensus for Rubyists
vanstee
140
7.1k
Measuring & Analyzing Core Web Vitals
bluesmoon
9
580
Thoughts on Productivity
jonyablonski
70
4.8k
How to train your dragon (web standard)
notwaldorf
96
6.2k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
234
17k
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