Skip to content

Instantly share code, notes, and snippets.

@lucywyman
Created September 27, 2017 21:52
Show Gist options
  • Save lucywyman/db1308e82d07d18f27d73971810669c1 to your computer and use it in GitHub Desktop.
Save lucywyman/db1308e82d07d18f27d73971810669c1 to your computer and use it in GitHub Desktop.
Vagrant.configure("2") do |config|
config.vm.define "puppetmaster" do |master|
master.vm.box = "ubuntu/xenial64"
master.vm.hostname = "lucy-puppet-master.delivery.puppetlabs.net"
master.vm.network :"private_network", ip: "192.168.33.10"
master.vm.provision :hosts, :sync_hosts => true
master.vm.provision "shell", path: "puppet-master-install.sh"
master.vm.network "forwarded_port", guest: 443, host:4443
master.vm.provider "virtualbox" do |vb|
vb.customize ["modifyvm", :id, "--memory", "4096"]
end
end
config.vm.define "puppetagent" do |agent|
agent.vm.box = "centos/7"
agent.vm.hostname = "lucy-puppet-agent.delivery.puppetlabs.net"
agent.vm.network :"private_network", ip: "192.168.33.11"
agent.vm.provision :hosts, :sync_hosts => true
agent.vm.provision "shell", path: "puppet-agent-install.sh"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment