Skip to content

Instantly share code, notes, and snippets.

@tcotav
Created March 6, 2014 02:15
Show Gist options
  • Save tcotav/9380937 to your computer and use it in GitHub Desktop.
Save tcotav/9380937 to your computer and use it in GitHub Desktop.
Vagrantfile for test local salt + minion
# -*- 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