mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
do not force rm of conf files
This commit is contained in:
parent
e63a01f853
commit
cd29307a9f
1 changed files with 0 additions and 3 deletions
|
@ -7,7 +7,6 @@
|
|||
clean_common() {
|
||||
# remove shared job cache and other runtime directories
|
||||
rm -rf \
|
||||
/etc/salt \
|
||||
/var/cache/salt \
|
||||
/var/log/salt \
|
||||
/var/run/salt \
|
||||
|
@ -17,8 +16,6 @@ clean_common() {
|
|||
clean_conf() {
|
||||
# remove config and log file for master, minion, or syndic
|
||||
rm -rf \
|
||||
/etc/salt/"$1" \
|
||||
/etc/salt/"$1".d \
|
||||
/etc/salt/pki/$1 \
|
||||
/var/cache/salt/$1 \
|
||||
/var/log/salt/$1 \
|
||||
|
|
Loading…
Add table
Reference in a new issue