Skip to content

Instantly share code, notes, and snippets.

@cardil
Created September 19, 2017 13:36
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 cardil/45ea868de69b0159fd7e0f81852e359d to your computer and use it in GitHub Desktop.
Save cardil/45ea868de69b0159fd7e0f81852e359d to your computer and use it in GitHub Desktop.
Example Vagrantfile to test puppet agent-server connections
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