Your SlideShare is downloading. ×
0
Vagrant
Vagrant
Vagrant
Vagrant
Vagrant
Vagrant
Vagrant
Vagrant
Vagrant
Vagrant
Vagrant
Vagrant
Vagrant
Vagrant
Vagrant
Vagrant
Vagrant
Vagrant
Vagrant
Vagrant
Vagrant
Vagrant
Vagrant
Vagrant
Vagrant
Vagrant
Vagrant
Vagrant
Upcoming SlideShare
Loading in...5
×

Thanks for flagging this SlideShare!

Oops! An error has occurred.

×
Saving this for later? Get the SlideShare app to save on your phone or tablet. Read anywhere, anytime – even offline.
Text the download link to your phone
Standard text messaging rates apply

Vagrant

304

Published on

Published in: Technology, Business
0 Comments
2 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total Views
304
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
12
Comments
0
Likes
2
Embeds 0
No embeds

Report content
Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
No notes for slide

Transcript

  • 1. Tuesday, 25 June, 13
  • 2. Tuesday, 25 June, 13
  • 3. Tuesday, 25 June, 13
  • 4. Tuesday, 25 June, 13
  • 5. Tuesday, 25 June, 13
  • 6. +Tuesday, 25 June, 13
  • 7. +Tuesday, 25 June, 13
  • 8. +Tuesday, 25 June, 13
  • 9. +Tuesday, 25 June, 13
  • 10. +Tuesday, 25 June, 13
  • 11. +Tuesday, 25 June, 13
  • 12. +Tuesday, 25 June, 13
  • 13. vagrant initvagrant upvagrant haltvagrant statusvagrant suspendvagrant resumevagrant reloadvagrant provisionvagrant boxvagrant sshvagrant destroyTuesday, 25 June, 13
  • 14. 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"endendTuesday, 25 June, 13
  • 15. 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"endendTuesday, 25 June, 13
  • 16. 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"endendTuesday, 25 June, 13
  • 17. Tuesday, 25 June, 13
  • 18. facterpuppetmasterpuppetdmanifest filesTuesday, 25 June, 13
  • 19. package { "nginx":ensure => installed,}service { "nginx":enable => true,}# An erb that currently has no logicfile { "/etc/nginx/nginx.conf":content => template("nginx/etc/nginx/nginx.conf.erb"),owner => nginx,group => nginx,require => Package["nginx"],}Tuesday, 25 June, 13
  • 20. package { "nginx":ensure => installed,}service { "nginx":enable => true,}# An erb that currently has no logicfile { "/etc/nginx/nginx.conf":content => template("nginx/etc/nginx/nginx.conf.erb"),owner => nginx,group => nginx,require => Package["nginx"],}Tuesday, 25 June, 13
  • 21. package { "nginx":ensure => installed,}service { "nginx":enable => true,}# An erb that currently has no logicfile { "/etc/nginx/nginx.conf":content => template("nginx/etc/nginx/nginx.conf.erb"),owner => nginx,group => nginx,require => Package["nginx"],}Tuesday, 25 June, 13
  • 22. package { "nginx":ensure => installed,}service { "nginx":enable => true,}# An erb that currently has no logicfile { "/etc/nginx/nginx.conf":content => template("nginx/etc/nginx/nginx.conf.erb"),owner => nginx,group => nginx,require => Package["nginx"],}Tuesday, 25 June, 13
  • 23. class nginx {package { "nginx":ensure => installed,}service { "nginx":enable => true,}...}Tuesday, 25 June, 13
  • 24. include nginxinclude mysqlinclude mongodbinclude nodejsinclude ...Tuesday, 25 June, 13
  • 25. Tuesday, 25 June, 13
  • 26. http://www.vagrantup.comhttp://www.virtualbox.orghttp://www.vmware.comhttp://www.puppetlabs.comhttp://www.opscode.comhttp://www.saltstack.comhttp://www.gitscm.comTuesday, 25 June, 13
  • 27. http://docs.puppetlabs.com/http://www.puppetcookbook.com/Tuesday, 25 June, 13
  • 28. carlocostantini.cagithub.com/fifteen3@fifteen3Tuesday, 25 June, 13

×