Forráskód Böngészése

Adds gitpython for salt-master py3

To be tagged v1.0.5
Brad Poulton 4 éve
szülő
commit
889790b33a
1 módosított fájl, 4 hozzáadás és 0 törlés
  1. 4 0
      base/salt_master/cloud-init/provision_salt_master.sh

+ 4 - 0
base/salt_master/cloud-init/provision_salt_master.sh

@@ -9,6 +9,10 @@ echo "Started provision_salt_master.sh"
 #Install dependencies. The virtual env was used to reduce the python module conflicts between rpm and pip.
 echo "Install dependencies" 
 yum install GitPython --enablerepo=epel -y
+#For Version 3001+ Python 3 is required. 
+#At this point, PY3 should already be installed. 
+#Thus gitpython needs to be added to python3. required for RHEL 7.
+pip3 install gitpython
 yum install python-virtualenv -y
 virtualenv ~/awscli