patch x509_v2 state salt issue 66929

This commit is contained in:
Josh Patterson
2025-03-26 10:50:04 -04:00
parent 0fe3038802
commit bb8f0605e1
4 changed files with 9 additions and 1819 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -1960,11 +1960,8 @@ salt_install_module_deps() {
}
salt_patch_x509_v2() {
# this can be removed when https://github.com/saltstack/salt/issues/64195 is resolved
if [ $SALTVERSION == "3006.1" ]; then
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
# this can be removed when https://github.com/saltstack/salt/issues/66929 is resolved
logCmd "salt-call state.apply salt.patch.x509_v2 --local --file-root=../salt/"
}
# Create an secrets pillar so that passwords survive re-install