From 719166bf4c9421485983e61635e9bbdd960d05a4 Mon Sep 17 00:00:00 2001 From: Daniel Farrell Date: Thu, 30 Mar 2017 17:41:54 -0400 Subject: [PATCH] Install tox in Fedora Vagrant dev env Change-Id: I7763f8ad5c9bb25d8c32cae0d6550ca13f53b7a7 Signed-off-by: Daniel Farrell --- Vagrantfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Vagrantfile b/Vagrantfile index d6ecce0..38d0e06 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -33,6 +33,11 @@ Vagrant.configure(2) do |config| fedora.vm.provision "shell", inline: 'su -c "cd /home/vagrant/puppet-opendaylight; bundle install" vagrant' fedora.vm.provision "shell", inline: 'su -c "cd /home/vagrant/puppet-opendaylight; bundle update" vagrant' + # Install tox, used for managing tests + fedora.vm.provision "shell", inline: "dnf install -y python3-pip" + fedora.vm.provision "shell", inline: "pip3 install pip --upgrade" + fedora.vm.provision "shell", inline: "pip3 install tox" + # Git is required for cloning Puppet module deps in `rake test` fedora.vm.provision "shell", inline: "dnf install -y git" @@ -77,7 +82,6 @@ EOF cent.vm.provision "shell", inline: 'su -c "cd /home/vagrant/puppet-opendaylight; bundle install" vagrant' cent.vm.provision "shell", inline: 'su -c "cd /home/vagrant/puppet-opendaylight; bundle update" vagrant' - # Git is required for cloning Puppet module deps in `rake test` cent.vm.provision "shell", inline: "yum install -y git" -- 2.36.6