File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ Version 2016.05.11:
2+ * Only overwrite the minion config file if '-C' is passed. Otherwise, preserve it. (rallytime) #848
3+
14Version 2016.05.10:
25 * Removed libzmq4 and forking-deamon-patch for Opensuse13. (jtand) #840
36 * Ubuntu 12.04 needs to be updated before installing packages. (jtand) #829
Original file line number Diff line number Diff line change 1818# ======================================================================================================================
1919set -o nounset # Treat unset variables as an error
2020
21- __ScriptVersion=" 2016.05.10 "
21+ __ScriptVersion=" 2016.05.11 "
2222__ScriptName=" bootstrap-salt.sh"
2323
2424# ======================================================================================================================
@@ -5901,18 +5901,18 @@ config_salt() {
59015901
59025902 # Copy the minions configuration if found
59035903 if [ -f " $_TEMP_CONFIG_DIR /minion" ]; then
5904- __movefile " $_TEMP_CONFIG_DIR /minion" " $_SALT_ETC_DIR " " $BS_TRUE " || return 1
5904+ __movefile " $_TEMP_CONFIG_DIR /minion" " $_SALT_ETC_DIR " " $_CONFIG_ONLY " || return 1
59055905 CONFIGURED_ANYTHING=$BS_TRUE
59065906 fi
59075907
59085908 # Copy the minion's keys if found
59095909 if [ -f " $_TEMP_CONFIG_DIR /minion.pem" ]; then
5910- __movefile " $_TEMP_CONFIG_DIR /minion.pem" " $_PKI_DIR /minion/" " $BS_TRUE " || return 1
5910+ __movefile " $_TEMP_CONFIG_DIR /minion.pem" " $_PKI_DIR /minion/" " $_CONFIG_ONLY " || return 1
59115911 chmod 400 " $_PKI_DIR /minion/minion.pem" || return 1
59125912 CONFIGURED_ANYTHING=$BS_TRUE
59135913 fi
59145914 if [ -f " $_TEMP_CONFIG_DIR /minion.pub" ]; then
5915- __movefile " $_TEMP_CONFIG_DIR /minion.pub" " $_PKI_DIR /minion/" " $BS_TRUE " || return 1
5915+ __movefile " $_TEMP_CONFIG_DIR /minion.pub" " $_PKI_DIR /minion/" " $_CONFIG_ONLY " || return 1
59165916 chmod 664 " $_PKI_DIR /minion/minion.pub" || return 1
59175917 CONFIGURED_ANYTHING=$BS_TRUE
59185918 fi
You can’t perform that action at this time.
0 commit comments