From dff52e7685f407ca60db9fd12b2ac59e45de4dfa Mon Sep 17 00:00:00 2001 From: Nathan Youngman Date: Sun, 8 Sep 2013 12:38:26 -0600 Subject: [PATCH] provisioning freebsd with the help of @petecheslock --- Vagrantfile | 87 +++++++++++++++++++++++++++++++++++++---------------- 1 file changed, 61 insertions(+), 26 deletions(-) diff --git a/Vagrantfile b/Vagrantfile index ac6f26d..25f747f 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -1,47 +1,82 @@ # -*- mode: ruby -*- # vi: set ft=ruby : -# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! +# Vagrantfile API/syntax version. VAGRANTFILE_API_VERSION = "2" -# shell script to bootstrap Go on Linux -GO_LINUX = 'go1.1.2.linux-386.tar.gz' -# Everything after /src/ in the host operating system's path -PROJECT_PATH = File.dirname(__FILE__).partition("#{File::SEPARATOR}src#{File::SEPARATOR}").last -PARENT_PATH = File.split(PROJECT_PATH).first +INSTALL = { + "linux" => "apt-get update -qq; apt-get install -qq -y git mercurial bzr curl", + "bsd" => "pkg_add -r git mercurial" +} -$bootstrap_linux = <