Add package names for openSUSE/SLE

Change-Id: I487cc7b8bd228ff77c9881528e3395cbe3c43d4a
This commit is contained in:
Vincent Untz 2012-11-21 17:45:49 +01:00
parent 856a11e0e4
commit ca5c471386
18 changed files with 209 additions and 3 deletions

View File

@ -0,0 +1,4 @@
# Not available in openSUSE main repositories, but can be fetched from OBS
# (devel:languages:python and server:database projects)
mongodb
python-pymongo

2
files/rpms-suse/cinder Normal file
View File

@ -0,0 +1,2 @@
lvm2
tgt

23
files/rpms-suse/general Normal file
View File

@ -0,0 +1,23 @@
bridge-utils
curl
euca2ools
git-core
iputils
openssh
psmisc
python-cmd2 # dist:opensuse-12.3
python-netaddr
python-pep8
python-pip
python-pylint
python-unittest2
python-virtualenv
screen
tar
tcpdump
unzip
vim-enhanced
wget
findutils-locate # useful when debugging
lsof # useful when debugging

12
files/rpms-suse/glance Normal file
View File

@ -0,0 +1,12 @@
gcc
libxml2-devel
python-PasteDeploy
python-Routes
python-SQLAlchemy
python-argparse
python-devel
python-eventlet
python-greenlet
python-iso8601
python-wsgiref
python-xattr

23
files/rpms-suse/horizon Normal file
View File

@ -0,0 +1,23 @@
apache2 # NOPRIME
apache2-mod_wsgi # NOPRIME
nodejs
python-CherryPy # why? (coming from apts)
python-Paste
python-PasteDeploy
python-Routes
python-Sphinx
python-SQLAlchemy
python-WebOb
python-anyjson
python-beautifulsoup
python-coverage
python-dateutil
python-eventlet
python-kombu
python-mox
python-netaddr
python-nose
python-pep8
python-pylint
python-sqlalchemy-migrate
python-xattr

17
files/rpms-suse/keystone Normal file
View File

@ -0,0 +1,17 @@
cyrus-sasl-devel
openldap2-devel
python-Paste
python-PasteDeploy
python-PasteScript
python-Routes
python-SQLAlchemy
python-WebOb
python-devel
python-distribute
python-setuptools # instead of python-distribute; dist:sle11sp2
python-greenlet
python-lxml
python-mysql
python-py-bcrypt
python-pysqlite
sqlite3

2
files/rpms-suse/n-api Normal file
View File

@ -0,0 +1,2 @@
gcc # temporary because this pulls in glance to get the client without running the glance prereqs
python-dateutil

4
files/rpms-suse/n-cpu Normal file
View File

@ -0,0 +1,4 @@
# Stuff for diablo volumes
genisoimage
lvm2
open-iscsi

1
files/rpms-suse/n-novnc Normal file
View File

@ -0,0 +1 @@
python-numpy

2
files/rpms-suse/n-vol Normal file
View File

@ -0,0 +1,2 @@
lvm2
tgt

48
files/rpms-suse/nova Normal file
View File

@ -0,0 +1,48 @@
curl
# Note: we need to package dhcp_release in dnsmasq!
dnsmasq
ebtables
gawk
iptables
iputils
kpartx
kvm
libvirt # NOPRIME
libvirt-python
libxml2-python
mysql-community-server # NOPRIME
parted
python-M2Crypto
python-m2crypto # dist:sle11sp2
python-Paste
python-PasteDeploy
python-Routes
python-SQLAlchemy
python-Tempita
python-boto
python-carrot
python-cheetah
python-eventlet
python-feedparser
python-greenlet
python-iso8601
python-kombu
python-lockfile
python-lxml # needed for glance which is needed for nova --- this shouldn't be here
python-mox
python-mysql
python-netaddr
python-paramiko
python-python-gflags
python-sqlalchemy-migrate
python-suds
python-xattr # needed for glance which is needed for nova --- this shouldn't be here
rabbitmq-server # NOPRIME
socat
sqlite3
sudo
vlan
# FIXME: qpid is not part of openSUSE, those names are tentative
python-qpid # NOPRIME
qpidd # NOPRIME

View File

@ -0,0 +1 @@
python-psycopg2

27
files/rpms-suse/quantum Normal file
View File

@ -0,0 +1,27 @@
# Note: we need to package dhcp_release in dnsmasq!
dnsmasq
ebtables
iptables
iputils
mysql-community-server # NOPRIME
python-boto
python-eventlet
python-greenlet
python-iso8601
python-kombu
python-mysql
python-netaddr
python-Paste
python-PasteDeploy
python-pyudev
python-Routes
python-SQLAlchemy
python-suds
rabbitmq-server # NOPRIME
sqlite3
sudo
vlan
# FIXME: qpid is not part of openSUSE, those names are tentative
python-qpid # NOPRIME
qpidd # NOPRIME

5
files/rpms-suse/ryu Normal file
View File

@ -0,0 +1,5 @@
python-distribute
python-setuptools # instead of python-distribute; dist:sle11sp2
python-Sphinx
python-gevent
python-python-gflags

19
files/rpms-suse/swift Normal file
View File

@ -0,0 +1,19 @@
curl
gcc
memcached
python-PasteDeploy
python-WebOb
python-configobj
python-coverage
python-devel
python-distribute
python-setuptools # instead of python-distribute; dist:sle11sp2
python-eventlet
python-greenlet
python-netifaces
python-nose
python-simplejson
python-xattr
sqlite3
xfsprogs
xinetd

View File

@ -84,7 +84,11 @@ EOF
chmod 0600 $HOME/.my.cnf chmod 0600 $HOME/.my.cnf
fi fi
# Install mysql-server # Install mysql-server
if is_suse; then
install_package mysql-community-server
else
install_package mysql-server install_package mysql-server
fi
} }
function database_connection_url_mysql { function database_connection_url_mysql {

View File

@ -111,6 +111,8 @@ function install_horizon() {
if [[ "$os_PACKAGE" = "deb" ]]; then if [[ "$os_PACKAGE" = "deb" ]]; then
# Install apache2, which is NOPRIME'd # Install apache2, which is NOPRIME'd
install_package apache2 libapache2-mod-wsgi install_package apache2 libapache2-mod-wsgi
elif is_suse; then
install_package apache2 apache2-mod_wsgi
else else
sudo rm -f /etc/httpd/conf.d/000-* sudo rm -f /etc/httpd/conf.d/000-*
install_package httpd mod_wsgi install_package httpd mod_wsgi

View File

@ -715,12 +715,18 @@ set -o xtrace
echo_summary "Installing package prerequisites" echo_summary "Installing package prerequisites"
if [[ "$os_PACKAGE" = "deb" ]]; then if [[ "$os_PACKAGE" = "deb" ]]; then
install_package $(get_packages $FILES/apts) install_package $(get_packages $FILES/apts)
elif is_suse; then
install_package $(get_packages $FILES/rpms-suse)
else else
install_package $(get_packages $FILES/rpms) install_package $(get_packages $FILES/rpms)
fi fi
if [[ $SYSLOG != "False" ]]; then if [[ $SYSLOG != "False" ]]; then
if is_suse; then
install_package rsyslog-module-relp
else
install_package rsyslog-relp install_package rsyslog-relp
fi
fi fi
if is_service_enabled rabbit; then if is_service_enabled rabbit; then
@ -738,7 +744,11 @@ elif is_service_enabled qpid; then
fi fi
elif is_service_enabled zeromq; then elif is_service_enabled zeromq; then
if [[ "$os_PACKAGE" = "rpm" ]]; then if [[ "$os_PACKAGE" = "rpm" ]]; then
if is_suse; then
install_package libzmq1 python-pyzmq
else
install_package zeromq python-zmq install_package zeromq python-zmq
fi
else else
install_package libzmq1 python-zmq install_package libzmq1 python-zmq
fi fi