Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# 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
You can’t perform that action at this time.