Skip to content

Instantly share code, notes, and snippets.

@arubdesu
Last active August 29, 2015 14:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save arubdesu/b8eea5c77814db0b322d to your computer and use it in GitHub Desktop.
Save arubdesu/b8eea5c77814db0b322d to your computer and use it in GitHub Desktop.
Works
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) 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.
# Every Vagrant virtual environment requires a box to build off of.
config.vm.define "master" do |master|
master.vm.box = "puppetlabs/centos-6.5-64-nocm"
master.vm.network "private_network", ip: "192.168.80.145"
master.vm.provision :hosts # config.vm.provider "vmware_fusion" do |v|
master.vm.hostname = "master.localdomain"
# v.vmx["numvcpus"] = "2"
# end
end
config.vm.define "db" do |db|
db.vm.box = "puppetlabs/centos-6.5-64-nocm-db"
db.vm.network "private_network", ip: "192.168.80.146"
db.vm.provision :hosts # config.vm.provider "vmware_fusion" do |v|
db.vm.hostname = "db.localdomain"
# config.vm.provider "vmware_fusion" do |v|
# v.vmx["numvcpus"] = "4"
# end
end
config.vm.define "con" do |con|
con.vm.box = "puppetlabs/centos-6.5-64-nocm-con"
con.vm.network "private_network", ip: "192.168.80.147"
con.vm.provision :hosts
con.vm.hostname = "con.localdomain"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment