Add support for Vagrant deployment

A common pattern is to maintain a Vagrantfile for each role to allow
for convenient testing for the community. This serves as another
step towards making the Gnocchi role ready for OSA integration.

Partial-Blueprint: role-gnocchi
Change-Id: Ib85ed1ab2e95713c4588a7af4418bd7cf61d5b9b
This commit is contained in:
Steve Lewis 2016-06-17 11:58:47 -07:00
parent b3214f3427
commit 521b195a17
1 changed files with 9 additions and 0 deletions

9
Vagrantfile vendored Normal file
View File

@ -0,0 +1,9 @@
Vagrant.configure(2) do |config|
config.vm.box = "ubuntu/trusty64"
config.vm.provision "shell", inline: <<-SHELL
sudo su -
cd /vagrant
apt-get update
./run_tests.sh
SHELL
end