Skip to content

Instantly share code, notes, and snippets.

@manuelkiessling
Created May 4, 2012 07:54
Show Gist options
  • Save manuelkiessling/2593131 to your computer and use it in GitHub Desktop.
Save manuelkiessling/2593131 to your computer and use it in GitHub Desktop.
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant::Config.run do |config|
# All Vagrant configuration is done here. The most common configuration
# options are documented and commented below. For a complete reference,
# please see the online documentation at vagrantup.com.
# Konfiguration mhdev VM (bestehender Stack)
config.vm.define :mhdev do |mhdev_config|
mhdev_config.vm.box = "mhdev"
mhdev_config.vm.box_url = "http://repohelpers.myh.dev/mhdev.box"
mhdev_config.ssh.private_key_path = "./ssh/mhdev_id_rsa"
# Konfiguration der Netzwerkbrücke findet in ~/.vagrant.d/Vagrantfile statt
end
# Konfiguration sfdev VM (neuer Stack)
config.vm.define :sfdev do |sfdev_config|
sfdev_config.vm.box = "sfdev"
sfdev_config.vm.box_url = "http://repohelpers.myh.dev/sfdev.box"
sfdev_config.ssh.private_key_path = "./ssh/sfdev_id_rsa"
sfdev_config.vm.forward_port 8080, 8080 # Apache
sfdev_config.vm.forward_port 6081, 6081 # Varnish
sfdev_config.vm.forward_port 9090, 9090 # phpMyAdmin
sfdev_config.vm.share_folder "sfdev-code", "/_sfdev-code.dont-use", "/sfdev-code" # Verzeichnis C:\sfdev-code wird a
sfdev_config.vm.share_folder "templates", "/tmp/vagrant-puppet/templates", "puppet/templates"
sfdev_config.vm.provision :puppet do |puppet|
puppet.manifests_path = "puppet/manifests"
puppet.manifest_file = "default.pp"
puppet.options = ["--templatedir", "/tmp/vagrant-puppet/templates"]
end
# Konfiguration der Netzwerkbrücke findet in ~/.vagrant.d/Vagrantfile statt
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment