# -*- mode: ruby -*-
# vi: set ft=ruby :

# All Vagrant configuration is done below. The "2" in Vagrant.configure
# configures the configuration version (we support older styles for
# backwards compatibility). Please don't change it unless you know what
# you're doing.
Vagrant.configure(2) do |config|
  config.vm.box = "bento/debian-7"
  config.vm.synced_folder "../", "/home/vagrant/execo.git"
  config.vm.provision "shell", inline: <<-SHELL
    #!/bin/bash -x
    echo 'deb http://archive.debian.org/debian wheezy main' > /etc/apt/sources.list
    #echo 'deb http://security.debian.org/ wheezy/updates main' >> /etc/apt/sources.list
    echo 'deb http://archive.debian.org/debian wheezy-backports main' > /etc/apt/sources.list.d/wheezy-backports.list
    apt-get update && apt-get -y dist-upgrade
    apt-get -y --no-install-recommends install build-essential debhelper devscripts python-all python3-all dh-python python-setuptools python3-setuptools python-docutils python-sphinx graphviz python-argparse python-keyring python-psycopg2 python-networkx python-pygraphviz python-matplotlib git
    apt-get -y --no-install-recommends -t wheezy-backports install python-requests
  SHELL
end
