mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 09:40:21 +00:00
Set a temp dir path to a existing but bogus path so the config func actually works.
This commit is contained in:
parent
a2a73a2c39
commit
08c709ac64
1 changed files with 4 additions and 1 deletions
|
@ -1160,7 +1160,10 @@ install_smartos_deps() {
|
|||
|
||||
# Let's trigger config_salt()
|
||||
if [ "$TEMP_CONFIG_DIR" = "null" ]; then
|
||||
TEMP_CONFIG_DIR="${SALT_GIT_CHECKOUT_DIR}/conf/"
|
||||
# Since we don't have a source to copy the default configuration or
|
||||
# even any pre-seeded keys, TEMP_CONFIG_DIR will be a bogus, yet,
|
||||
# exiting directory so the configuration function works it's best
|
||||
TEMP_CONFIG_DIR="/"
|
||||
CONFIG_SALT_FUNC="config_salt"
|
||||
fi
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue