소스 검색

Adds gitpython for salt-master py3

To be tagged v1.0.5
Brad Poulton 4 년 전
부모
커밋
889790b33a
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  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