mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 09:40:20 +00:00
Ensure any pre-exiting incorrect ufw directory /etc/ufw/applications.d/salt-master is removed
This commit is contained in:
parent
90fe04b304
commit
d891daa222
1 changed files with 4 additions and 0 deletions
|
@ -10,5 +10,9 @@ case "$1" in
|
|||
find ${SALT_HOME} /etc/salt /var/log/salt /var/cache/salt /var/run/salt \
|
||||
\! \( -path /etc/salt/cloud.deploy.d\* -o -path /var/log/salt/cloud -o -path /opt/saltstack/salt/lib/python${PY_VER}/site-packages/salt/cloud/deploy\* \) -a \
|
||||
\( -user ${SALT_USER} -o -group ${SALT_GROUP} \) -exec chown root:root \{\} \;
|
||||
|
||||
# remove incorrectly installed ufw salt-master directory - issue 57712
|
||||
test -d /etc/ufw/applications.d/salt-master && rm -rf /etc/ufw/applications.d/salt-master || /bin/true
|
||||
|
||||
;;
|
||||
esac
|
||||
|
|
Loading…
Add table
Reference in a new issue