Created
November 16, 2014 09:55
-
-
Save initcron/c217734657592b10cf95 to your computer and use it in GitHub Desktop.
Vagrantfile for Puppet Enterprise Master Agent Setup
This file contains hidden or 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
| # -*- 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