Merge pull request #20 from craigtracey/vagrant-update

Update Vagrantfile
This commit is contained in:
craigtracey 2014-11-13 17:03:12 -05:00
commit 09baca65ae
1 changed files with 11 additions and 2 deletions

13
Vagrantfile vendored
View File

@ -1,11 +1,20 @@
# encoding: UTF-8
GIFTWRAP_MANIFEST = 'manifest.yml'
GIFTWRAP_BUILDBOX_NAME = 'ursula-precise'
GIFTWRAP_BUILDBOX_URL = 'http://apt.openstack.blueboxgrid.com/vagrant/ursula-precise.box'
Vagrant.configure('2') do |config|
config.vm.box = 'hashicorp/precise64'
config.vm.box = GIFTWRAP_BUILDBOX_NAME
config.vm.box_url = GIFTWRAP_BUILDBOX_URL
config.vm.provision 'shell', inline: <<-EOF
apt-get update
apt-get install build-essential ruby1.9.1-dev -y
apt-get install -y build-essential ruby1.9.1-dev git python-pip python-dev python-virtualenv libxml2-dev libxslt-dev libffi-dev
gem install --no-ri --no-rdoc fpm
cd /vagrant
python setup.py install
giftwrap build -m GIFTWRAP_MANIFEST
EOF
config.vm.define 'giftwrap' do |c|