Last active
August 29, 2015 14:05
-
-
Save philbert/1a92ea53b8d72d8cc5f0 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
Vagrant.configure('2') do |config| | |
config.vm.box = 'centos-64-x64-vbox4210-nocm' | |
config.vm.box_url = 'http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210-nocm.box' | |
config.pe_build.download_root = 'https://s3.amazonaws.com/pe-builds/released' | |
config.pe_build.version = '3.2.3' | |
config.pe_build.filename = 'puppet-enterprise-3.2.3-el-6-x86_64.tar.gz' | |
config.vm.provision 'shell', inline: 'yum update -y' | |
# Only here to assist with initial provisioning of machines. After puppet agent run iptables is reenabled and started | |
config.vm.provision 'shell', inline: 'chkconfig iptables off' | |
config.vm.provision 'shell', inline: 'service iptables stop' | |
config.vm.provision :hosts | |
# Fix this for RabbitMQ | |
config.vm.provision 'shell', inline: 'sed -i "s/^127.0.1.1/127.0.0.1/g" /etc/hosts' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment