Remove not-needed generated nodes data
* In general, looking into next lines of code
with check:
'if [[ $SALT_MASTER_BOOTSTRAP_MINIMIZED =~ ^(True|true|1|yes)$ || ! -f "${CONFIG}" ]]; then'
it looks like removing was left by mistake
Prod-related: PROD-26374(PROD:26374)
Change-Id: Ib059116909578abbdea1519d5ca5b3146529da2c
diff --git a/bootstrap.sh b/bootstrap.sh
index 14205ab..5796c28 100755
--- a/bootstrap.sh
+++ b/bootstrap.sh
@@ -10,7 +10,7 @@
# Its not intended to be used in PRODUCTION unless you know what you are doing.
# You have been warned!
-__ScriptVersion="2018.09.12"
+__ScriptVersion="2019.02.26"
__ScriptName="bootstrap.sh"
__ScriptFullName="$0"
__ScriptArgs="$*"
@@ -342,7 +342,6 @@
fi
mkdir -vp ${RECLASS_ROOT}/nodes/_generated
- rm -rvf ${RECLASS_ROOT}/nodes/_generated/*
CONFIG=$(find ${RECLASS_ROOT}/nodes -name ${MINION_ID}.yml| grep yml | tail -n1)
CONFIG=${CONFIG:-${RECLASS_ROOT}/nodes/_generated/${MINION_ID}.yml}