Created
September 19, 2017 13:36
-
-
Save cardil/45ea868de69b0159fd7e0f81852e359d to your computer and use it in GitHub Desktop.
Example Vagrantfile to test puppet agent-server connections
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
Vagrant.configure("2") do |config| | |
config.vm.box = 'boxcutter/centos7' | |
config.vm.define :master do |m| | |
m.vm.network "private_network", ip: "192.168.50.4" | |
m.vm.provider "virtualbox" do |v| | |
v.memory = 768 | |
v.cpus = 2 | |
end | |
end | |
config.vm.define :app01 do |a| | |
a.vm.network "private_network", ip: "192.168.50.14" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment