mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-17 10:10:25 +00:00
Drop unnecessary workarounds (creating directories) for early releases
This commit is contained in:
parent
e0100d8291
commit
2bbeb079a9
1 changed files with 0 additions and 12 deletions
|
@ -6150,9 +6150,6 @@ config_salt() {
|
|||
exit 0
|
||||
fi
|
||||
|
||||
# Create default logs directory if not exists
|
||||
mkdir -p /var/log/salt
|
||||
|
||||
return 0
|
||||
}
|
||||
#
|
||||
|
@ -6464,15 +6461,6 @@ if [ "$_CONFIG_ONLY" -eq $BS_FALSE ]; then
|
|||
fi
|
||||
fi
|
||||
|
||||
# Ensure that the cachedir exists
|
||||
# (Workaround for https://github.com/saltstack/salt/issues/6502)
|
||||
if [ "$_INSTALL_MINION" -eq $BS_TRUE ]; then
|
||||
if [ ! -d "${_SALT_CACHE_DIR}/minion/proc" ]; then
|
||||
echodebug "Creating salt's cachedir"
|
||||
mkdir -p "${_SALT_CACHE_DIR}/minion/proc"
|
||||
fi
|
||||
fi
|
||||
|
||||
# Run any post install function. Only execute function if not in config mode only
|
||||
if [ "$POST_INSTALL_FUNC" != "null" ] && [ "$_CONFIG_ONLY" -eq $BS_FALSE ]; then
|
||||
echoinfo "Running ${POST_INSTALL_FUNC}()"
|
||||
|
|
Loading…
Add table
Reference in a new issue