Add package names for openSUSE/SLE
Change-Id: I487cc7b8bd228ff77c9881528e3395cbe3c43d4a
diff --git a/stack.sh b/stack.sh
index 70f4610..0e3a3b1 100755
--- a/stack.sh
+++ b/stack.sh
@@ -715,12 +715,18 @@
echo_summary "Installing package prerequisites"
if [[ "$os_PACKAGE" = "deb" ]]; then
install_package $(get_packages $FILES/apts)
+elif is_suse; then
+ install_package $(get_packages $FILES/rpms-suse)
else
install_package $(get_packages $FILES/rpms)
fi
if [[ $SYSLOG != "False" ]]; then
- install_package rsyslog-relp
+ if is_suse; then
+ install_package rsyslog-module-relp
+ else
+ install_package rsyslog-relp
+ fi
fi
if is_service_enabled rabbit; then
@@ -738,7 +744,11 @@
fi
elif is_service_enabled zeromq; then
if [[ "$os_PACKAGE" = "rpm" ]]; then
- install_package zeromq python-zmq
+ if is_suse; then
+ install_package libzmq1 python-pyzmq
+ else
+ install_package zeromq python-zmq
+ fi
else
install_package libzmq1 python-zmq
fi