mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-17 10:10:25 +00:00
Deprecate config_freebsd_salt()
function, there is no purpose for it
This commit is contained in:
parent
ccdd294dec
commit
a719022410
1 changed files with 6 additions and 12 deletions
|
@ -4204,17 +4204,6 @@ install_freebsd_11_stable_deps() {
|
|||
install_freebsd_9_stable_deps
|
||||
}
|
||||
|
||||
config_freebsd_salt() {
|
||||
# Set _SALT_ETC_DIR to ports default
|
||||
_SALT_ETC_DIR=${BS_SALT_ETC_DIR:-/usr/local/etc/salt}
|
||||
# We also need to redefine the PKI directory
|
||||
_PKI_DIR=${_SALT_ETC_DIR}/pki
|
||||
|
||||
config_salt || return 1
|
||||
|
||||
return 0
|
||||
}
|
||||
|
||||
install_freebsd_git_deps() {
|
||||
install_freebsd_9_stable_deps || return 1
|
||||
|
||||
|
@ -4265,7 +4254,12 @@ install_freebsd_git_deps() {
|
|||
# Let's trigger config_salt()
|
||||
if [ "$_TEMP_CONFIG_DIR" = "null" ]; then
|
||||
_TEMP_CONFIG_DIR="${__SALT_GIT_CHECKOUT_DIR}/conf/"
|
||||
CONFIG_SALT_FUNC="config_freebsd_salt"
|
||||
CONFIG_SALT_FUNC="config_salt"
|
||||
|
||||
# Set _SALT_ETC_DIR to ports default
|
||||
_SALT_ETC_DIR=${BS_SALT_ETC_DIR:-/usr/local/etc/salt}
|
||||
# We also need to redefine the PKI directory
|
||||
_PKI_DIR=${_SALT_ETC_DIR}/pki
|
||||
fi
|
||||
|
||||
return 0
|
||||
|
|
Loading…
Add table
Reference in a new issue