mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-16 09:40:21 +00:00
Add git install support to SmartOS.
This commit is contained in:
parent
08c709ac64
commit
188a458cef
1 changed files with 17 additions and 0 deletions
|
@ -1169,10 +1169,27 @@ install_smartos_deps() {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
install_smartos_git_deps() {
|
||||||
|
install_smartos_deps
|
||||||
|
pkgin -y in scmgit
|
||||||
|
|
||||||
|
__git_clone_and_checkout
|
||||||
|
# Let's trigger config_salt()
|
||||||
|
if [ "$TEMP_CONFIG_DIR" = "null" ]; then
|
||||||
|
TEMP_CONFIG_DIR="${SALT_GIT_CHECKOUT_DIR}/conf/"
|
||||||
|
CONFIG_SALT_FUNC="config_salt"
|
||||||
|
fi
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
install_smartos_stable() {
|
install_smartos_stable() {
|
||||||
easy_install-2.7 salt
|
easy_install-2.7 salt
|
||||||
}
|
}
|
||||||
|
|
||||||
|
install_smartos_git() {
|
||||||
|
/opt/local/bin/python setup.py install
|
||||||
|
}
|
||||||
|
|
||||||
install_smartos_post() {
|
install_smartos_post() {
|
||||||
###
|
###
|
||||||
# TODO: * create /opt/local/share/smf/salt-minion/manifest.xml in salt.git
|
# TODO: * create /opt/local/share/smf/salt-minion/manifest.xml in salt.git
|
||||||
|
|
Loading…
Add table
Reference in a new issue