Created
May 4, 2012 07:54
-
-
Save manuelkiessling/2593131 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- 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