fix(test): Remove /etc/salt before starting a new salt-minion instance
This commit is contained in:
committed by
Carlos Álvaro
parent
e6a290e7a6
commit
6f001cf450
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user