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
110
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
160
Other Decks in Technology
See All in Technology
最近たまに見かけるTiDBってなんだ? - Findy
pingcap0315
1
120
【SORACOM UG】(2024年度版) SIMってなんだ? ~セルラー通信がつながる仕組み、解説します~
soracom
PRO
0
200
シン・Kafka / shin-kafka
oracle4engineer
PRO
6
2.7k
HEXA OSINT CTF V3 作戦会議
meow_noisy
0
110
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs (QCon London)
inesmontani
PRO
0
140
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
1
630
A (short) History of AI
harishpillay
0
100
Databricks:『生成AI World Cup』のご案内
databricksjapan
1
120
転移学習とドメイン適応の基礎
kmatsui
2
570
Algyan イベント振り返り
linyixian
0
180
ユーザーストーリーのレビューを自動化したみたの
bun913
1
280
Autonomous Database Cloud 技術詳細 / adb-s_technical_detail_jp
oracle4engineer
PRO
13
35k
Featured
See All Featured
Build your cross-platform service in a week with App Engine
jlugia
224
17k
In The Pink: A Labor of Love
frogandcode
137
21k
Bash Introduction
62gerente
604
210k
How to Ace a Technical Interview
jacobian
272
22k
Visualization
eitanlees
135
14k
What’s in a name? Adding method to the madness
productmarketing
PRO
15
2.6k
Into the Great Unknown - MozCon
thekraken
10
980
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
13
1.5k
How to name files
jennybc
64
92k
10 Git Anti Patterns You Should be Aware of
lemiorhan
645
57k
Code Reviewing Like a Champion
maltzj
513
39k
Building a Scalable Design System with Sketch
lauravandoore
455
32k
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