Skip to content

Instantly share code, notes, and snippets.

@ahonor
Last active August 29, 2015 14:05
Show Gist options
  • Save ahonor/02fbaaac4baa2d8738a2 to your computer and use it in GitHub Desktop.
Save ahonor/02fbaaac4baa2d8738a2 to your computer and use it in GitHub Desktop.
/vagrant/rerun
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