Vagrant
Upcoming SlideShare
Loading in...5
×

Like this? Share it with your network

Share
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Be the first to comment
No Downloads

Views

Total Views
462
On Slideshare
462
From Embeds
0
Number of Embeds
0

Actions

Shares
Downloads
12
Comments
0
Likes
1

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