Skip to content

Commit 1c7497d

Browse files
author
Nicole Thomas
authored
Merge pull request #892 from rallytime/merge-stable
[stable] Merge develop into stable branch
2 parents e44c2a2 + 012ea0c commit 1c7497d

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

ChangeLog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
Version 2016.06.27:
2+
* Fix race condition when doing one-liner bootstrap
3+
* Add space back in between 'install' and '--install'
4+
15
Version 2016.06.24:
26
* Save invocation command and arguments into variables. (jfindlay) #885
37
* Update the authors list with new contributors. (rallytime) #884

bootstrap-salt.sh

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@
1818
#======================================================================================================================
1919
set -o nounset # Treat unset variables as an error
2020

21-
__ScriptVersion="2016.06.24"
22-
__ScriptName="$(basename "${0}")"
21+
__ScriptVersion="2016.06.27"
22+
__ScriptName="bootstrap-salt.sh"
23+
2324
__ScriptFullName="${0}"
2425
__ScriptArgs="${*}"
2526

@@ -2499,7 +2500,7 @@ install_ubuntu_git() {
24992500
if [ -f "${_SALT_GIT_CHECKOUT_DIR}/salt/syspaths.py" ]; then
25002501
python setup.py --salt-config-dir="$_SALT_ETC_DIR" --salt-cache-dir="${_SALT_CACHE_DIR}" ${SETUP_PY_INSTALL_ARGS} install --install-layout=deb || return 1
25012502
else
2502-
python setup.py ${SETUP_PY_INSTALL_ARGS} install--install-layout=deb || return 1
2503+
python setup.py ${SETUP_PY_INSTALL_ARGS} install --install-layout=deb || return 1
25032504
fi
25042505
return 0
25052506
}
@@ -6330,7 +6331,7 @@ if [ "$DAEMONS_RUNNING_FUNC" != "null" ] && [ $_START_DAEMONS -eq $BS_TRUE ]; th
63306331
[ $fname = "syndic" ] && [ "$_INSTALL_SYNDIC" -eq $BS_FALSE ] && continue
63316332

63326333
if [ "$_ECHO_DEBUG" -eq $BS_FALSE ]; then
6333-
echoerror "salt-$fname was not found running. Pass '-D' to $__ScriptName when bootstrapping for additional debugging information..."
6334+
echoerror "salt-$fname was not found running. Pass '-D' to ${__ScriptName} when bootstrapping for additional debugging information..."
63346335
continue
63356336
fi
63366337

0 commit comments

Comments
 (0)