Created
August 27, 2014 12:03
-
-
Save philbert/4ad08ddd831477e90e2e to your computer and use it in GitHub Desktop.
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
# Puppet Master config | |
config.vm.define 'master' do |master| | |
master.vm.hostname = 'master.localnet' | |
master.vm.network :private_network, ip: "192.168.11.3" | |
master.vm.network :private_network, ip: "192.168.22.3" | |
master.vm.network :private_network, ip: "172.16.33.3" | |
master.vm.network :private_network, ip: "172.16.44.3" | |
master.vm.provider :virtualbox do |vbox| | |
vbox.customize ["modifyvm", :id, "--memory", "1024"] | |
end | |
master.vm.provision :pe_bootstrap do |provisioner| | |
provisioner.role = :master | |
provisioner.master = "master.localnet" | |
end | |
master.vm.provision "shell", inline: $install_puppet_modules | |
master.vm.provision "shell", inline: $hiera_setup | |
master.vm.provision "shell", inline: $add_node_classes | |
master.vm.provision "shell", inline: $add_nodes | |
end # master |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment