Skip to content

Instantly share code, notes, and snippets.

@initcron
Created November 16, 2014 09:55
Show Gist options
  • Select an option

  • Save initcron/c217734657592b10cf95 to your computer and use it in GitHub Desktop.

Select an option

Save initcron/c217734657592b10cf95 to your computer and use it in GitHub Desktop.
Vagrantfile for Puppet Enterprise Master Agent Setup
# -*- mode: ruby -*-
# vi: set ft=ruby :
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# change the box name with your own box
# to find out the box name, use following command,
# $vagrant box list
config.vm.box = "puppet-razor-centos-6.6-x86_64-v2"
config.vm.define :master do |master|
master.vm.network :private_network, ip: "192.168.5.10"
config.vm.provider :virtualbox do |vb|
vb.customize ["modifyvm", :id, "--memory", "2048"]
vb.customize ["modifyvm", :id, "--cpus", "2"]
end
end
config.vm.define :agent do |agent|
agent.vm.network :private_network, ip: "192.168.5.11"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment