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
AWS Organizations 新機能!マルチパーティ承認の紹介
yhana
1
220
自律的なスケーリング手法FASTにおけるVPoEとしてのアカウンタビリティ / dev-productivity-con-2025
yoshikiiida
0
320
KubeCon + CloudNativeCon Japan 2025 Recap by CA
ponkio_o
PRO
0
250
asken AI勉強会(Android)
tadashi_sato
0
140
作曲家がボカロを使うようにPdMはAIを使え
itotaxi
0
390
Lambda Web Adapterについて自分なりに理解してみた
smt7174
5
140
Witchcraft for Memory
pocke
1
660
MySQL5.6から8.4へ 戦いの記録
kyoshidaxx
1
300
Oracle Cloud Infrastructure:2025年6月度サービス・アップデート
oracle4engineer
PRO
2
310
生成AI開発案件におけるClineの業務活用事例とTips
shinya337
0
180
【5分でわかる】セーフィー エンジニア向け会社紹介
safie_recruit
0
26k
さくらのIaaS基盤のモニタリングとOpenTelemetry/OSC Hokkaido 2025
fujiwara3
2
240
Featured
See All Featured
What's in a price? How to price your products and services
michaelherold
246
12k
Imperfection Machines: The Place of Print at Facebook
scottboms
267
13k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.4k
Making the Leap to Tech Lead
cromwellryan
134
9.4k
Building Applications with DynamoDB
mza
95
6.5k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
138
34k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
34
3.1k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
53k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.7k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
30
2.1k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
15
1.5k
Large-scale JavaScript Application Architecture
addyosmani
512
110k
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