Last active
August 29, 2015 14:05
-
-
Save ahonor/02fbaaac4baa2d8738a2 to your computer and use it in GitHub Desktop.
/vagrant/rerun
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| | |
RERUN_IP="192.168.50.200" | |
config.vm.box = "centos-63-x64" | |
config.vm.box_url = "http://puppet-vagrant-boxes.puppetlabs.com/centos-63-x64.box" | |
config.vm.define :rerun do |rerun| | |
rerun.vm.hostname = "rerun" | |
rerun.vm.network :private_network, ip: "#{RERUN_IP}" | |
rerun.vm.provision :shell, inline: "/vagrant/rerun" | |
rerun.vm.provision :shell, inline: "/vagrant/rerun waitfor:seconds --interval 1" | |
rerun.vm.provision :shell, inline: "/vagrant/rerun rebuilder-recomm:process --dir /tmp --version 2 --s3-creds foo --data-file /etc/motd" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment