Created
March 6, 2014 02:15
-
-
Save tcotav/9380937 to your computer and use it in GitHub Desktop.
Vagrantfile for test local salt + minion
This file contains 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.configure("2") do |config| | |
config.vm.box = "centos6.4" | |
# Every Vagrant virtual environment requires a box to build off of. | |
config.vm.define "master", primary: true do |box| | |
box.vm.hostname = "salt" | |
box.vm.network "public_network" | |
box.vm.network "private_network", ip: "192.168.56.160" | |
end | |
config.vm.define "minion1" do |box| | |
box.vm.hostname = "minion1" | |
box.vm.network "public_network" | |
box.vm.network "private_network", ip: "192.168.56.161" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment