mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-17 10:10:25 +00:00
Merge pull request #1283 from sjorge/1237
FIX #1237 SmartOS should use pkgin show-deps
This commit is contained in:
commit
a415f43fd3
2 changed files with 3 additions and 2 deletions
|
@ -322,7 +322,7 @@ UNIX systems
|
|||
|
||||
**SunOS**:
|
||||
|
||||
- SmartOS
|
||||
- SmartOS (2015Q4 and later)
|
||||
|
||||
Unsupported Distributions
|
||||
-------------------------
|
||||
|
|
|
@ -5336,7 +5336,8 @@ install_openbsd_restart_daemons() {
|
|||
# SmartOS Install Functions
|
||||
#
|
||||
install_smartos_deps() {
|
||||
pkgin -y install zeromq py27-crypto py27-m2crypto py27-msgpack py27-yaml py27-jinja2 py27-zmq py27-requests || return 1
|
||||
smartos_deps="$(pkgin show-deps salt | grep '^\s' | grep -v '\snot' | xargs) py27-m2crypto"
|
||||
pkgin -y install "${smartos_deps}" || return 1
|
||||
|
||||
# Set _SALT_ETC_DIR to SmartOS default if they didn't specify
|
||||
_SALT_ETC_DIR=${BS_SALT_ETC_DIR:-/opt/local/etc/salt}
|
||||
|
|
Loading…
Add table
Reference in a new issue