Skip to content

Instantly share code, notes, and snippets.

@jburwell
Created July 28, 2014 18:03
Show Gist options
  • Save jburwell/7be683bbd8b2225cee5d to your computer and use it in GitHub Desktop.
Save jburwell/7be683bbd8b2225cee5d to your computer and use it in GitHub Desktop.
packagecloud.io missing curl error
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
$script = <<SCRIPT
wget https://packagecloud.io/install/repositories/basho/riak/script.deb -O /tmp/basho-repo.sh
bash /tmp/basho-repo.sh
SCRIPT
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# Every Vagrant virtual environment requires a box to build off of.
config.vm.box = "chef/ubuntu-12.04"
config.vm.provision "shell", inline: $script
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment