fix(test): Remove /etc/salt before starting a new salt-minion instance

This commit is contained in:
Carlos Álvaro
2022-11-09 18:52:06 +01:00
committed by Carlos Álvaro
parent e6a290e7a6
commit 6f001cf450

View File

@@ -187,7 +187,7 @@ function setup_and_start_salt_minion()
{
local SALT_MINION_CONF_DIR=/etc/salt/minion.d
sudo rm -rf "${SALT_MINION_CONF_DIR}"
sudo rm -rf '/etc/salt'
sudo mkdir -p "${SALT_MINION_CONF_DIR}"
sudo tee "${SALT_MINION_CONF_DIR}/minion.conf" > /dev/null <<EOF