File tree Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Expand file tree Collapse file tree 3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ cp apt_inst.cpython-37m-x86_64-linux-gnu.so apt_inst.so
5959rm -rf /tmp/python3-apt
6060# Install splunk-ansible dependencies
6161cd /
62- pip -q --no-cache-dir install wheel requests ansible jmespath --upgrade
62+ pip -q --no-cache-dir install six wheel requests ansible jmespath --upgrade
6363# Remove tests packaged in python libs
6464find /usr/lib/ -depth \( -type d -a -not -wholename ' */ansible/plugins/test' -a \( -name test -o -name tests -o -name idle_test \) \) -exec rm -rf ' {}' \;
6565find /usr/lib/ -depth \( -type f -a -name ' *.pyc' -o -name ' *.pyo' -o -name ' *.a' \) -exec rm -rf ' {}' \;
Original file line number Diff line number Diff line change @@ -48,17 +48,17 @@ ln -sf /usr/bin/python${PY_SHORT} /usr/bin/python
4848ln -sf /usr/bin/pip${PY_SHORT} /usr/bin/pip
4949# For ansible apt module
5050cd /tmp
51- apt-get download python3-apt=1.4.2
52- dpkg -x python3-apt_1.4.2_amd64 .deb python3-apt
53- rm python3-apt_1.4.2_amd64 .deb
51+ apt-get download python3-apt=1.4.3
52+ dpkg -x python3-apt_1.4.3_amd64 .deb python3-apt
53+ rm python3-apt_1.4.3_amd64 .deb
5454cp -r /tmp/python3-apt/usr/lib/python3/dist-packages/* /usr/lib/python${PY_SHORT} /site-packages/
5555cd /usr/lib/python${PY_SHORT} /site-packages/
5656cp apt_pkg.cpython-35m-x86_64-linux-gnu.so apt_pkg.so
5757cp apt_inst.cpython-35m-x86_64-linux-gnu.so apt_inst.so
5858rm -rf /tmp/python3-apt
5959# Install splunk-ansible dependencies
6060cd /
61- pip -q --no-cache-dir install wheel requests ansible jmespath --upgrade
61+ pip -q --no-cache-dir install six wheel requests ansible jmespath --upgrade
6262# Remove tests packaged in python libs
6363find /usr/lib/ -depth \( -type d -a -not -wholename ' */ansible/plugins/test' -a \( -name test -o -name tests -o -name idle_test \) \) -exec rm -rf ' {}' \;
6464find /usr/lib/ -depth \( -type f -a -name ' *.pyc' -o -name ' *.pyo' -o -name ' *.a' \) -exec rm -rf ' {}' \;
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ ln -sf /usr/bin/python${PY_SHORT} /usr/bin/python
4545ln -sf /usr/bin/pip${PY_SHORT} /usr/bin/pip
4646# Install splunk-ansible dependencies
4747cd /
48- pip -q --no-cache-dir install wheel requests ansible jmespath --upgrade
48+ pip -q --no-cache-dir install six wheel requests ansible jmespath --upgrade
4949# Remove tests packaged in python libs
5050find /usr/lib/ -depth \( -type d -a -not -wholename ' */ansible/plugins/test' -a \( -name test -o -name tests -o -name idle_test \) \) -exec rm -rf ' {}' \;
5151find /usr/lib/ -depth \( -type f -a -name ' *.pyc' -o -name ' *.pyo' -o -name ' *.a' \) -exec rm -rf ' {}' \;
You can’t perform that action at this time.
0 commit comments