Install tox in Fedora Vagrant dev env 70/55670/1
authorDaniel Farrell <dfarrell@redhat.com>
Thu, 30 Mar 2017 21:41:54 +0000 (17:41 -0400)
committerDaniel Farrell <dfarrell@redhat.com>
Wed, 19 Apr 2017 19:18:41 +0000 (15:18 -0400)
Change-Id: I7763f8ad5c9bb25d8c32cae0d6550ca13f53b7a7
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Vagrantfile

index d6ecce0c77abc6639a4aa65caf8362a4ea5667b4..38d0e06844e05b778cea7e07b04e1530c13f6596 100644 (file)
@@ -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"