fix cp for x509_v2.py

This commit is contained in:
m0duspwnens
2023-07-06 10:17:14 -04:00
parent 7a9a12ae3d
commit ab7ae6cddd

View File

@@ -2048,7 +2048,8 @@ saltify() {
# this can be removed when https://github.com/saltstack/salt/issues/64195 is resolved
if [ $SALTVERSION == "3006.1" ]; then
logCmd "echo y | cp -v ./files/patch/states/x509_v2.py /opt/saltstack/salt/lib/python3.10/site-packages/salt/states/x509_v2.py"
info "Salt version 3006.1 found. Patching /opt/saltstack/salt/lib/python3.10/site-packages/salt/states/x509_v2.py"
\cp -v ./files/patch/states/x509_v2.py /opt/saltstack/salt/lib/python3.10/site-packages/salt/states/x509_v2.py"
fi
}