From e5fef4a941c3098ee0789d480db76e0e449390a4 Mon Sep 17 00:00:00 2001 From: Denys Havrysh Date: Thu, 24 Nov 2016 11:44:33 +0200 Subject: [PATCH] Fix overwriting Minion config from temporarily directory --- bootstrap-salt.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bootstrap-salt.sh b/bootstrap-salt.sh index cad13f2..da5d44d 100755 --- a/bootstrap-salt.sh +++ b/bootstrap-salt.sh @@ -6022,7 +6022,7 @@ config_salt() { # Copy the minions configuration if found # Explicitly check for custom master config to avoid moving the minion config elif [ -f "$_TEMP_CONFIG_DIR/minion" ] && [ "$_CUSTOM_MASTER_CONFIG" = "null" ]; then - __movefile "$_TEMP_CONFIG_DIR/minion" "$_SALT_ETC_DIR" "$_CONFIG_ONLY" || return 1 + __movefile "$_TEMP_CONFIG_DIR/minion" "$_SALT_ETC_DIR" "$_FORCE_OVERWRITE" || return 1 CONFIGURED_ANYTHING=$BS_TRUE fi