we can remove the unless in ssl state since x509_v2 is patched

This commit is contained in:
m0duspwnens
2023-07-06 09:44:58 -04:00
parent 9de8814412
commit b49a296276
3 changed files with 1819 additions and 50 deletions

View File

@@ -2045,6 +2045,11 @@ saltify() {
logCmd "mkdir -p /etc/salt/minion.d"
logCmd "salt-pip install docker --no-index --only-binary=:all: --find-links files/salt_module_deps/docker/"
logCmd "salt-pip install pymysql --no-index --only-binary=:all: --find-links files/salt_module_deps/pymysql/"
# this can be removed when https://github.com/saltstack/salt/issues/64195 is resolved
if [ $SALTVERSION == "3006.1" ]; then
logCmd "\cp -f ./files/patch/states/x509_v2.py /opt/saltstack/salt/lib/python3.10/site-packages/salt/states/x509_v2.py"
fi
}