Browse code

Add package names for openSUSE/SLE

Change-Id: I487cc7b8bd228ff77c9881528e3395cbe3c43d4a

Vincent Untz authored on 2012/11/22 01:45:49
Showing 18 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,4 @@
0
+# Not available in openSUSE main repositories, but can be fetched from OBS
1
+# (devel:languages:python and server:database projects)
2
+mongodb
3
+python-pymongo
0 4
new file mode 100644
... ...
@@ -0,0 +1,2 @@
0
+lvm2
1
+tgt
0 2
new file mode 100644
... ...
@@ -0,0 +1,23 @@
0
+bridge-utils
1
+curl
2
+euca2ools
3
+git-core
4
+iputils
5
+openssh
6
+psmisc
7
+python-cmd2 # dist:opensuse-12.3
8
+python-netaddr
9
+python-pep8
10
+python-pip
11
+python-pylint
12
+python-unittest2
13
+python-virtualenv
14
+screen
15
+tar
16
+tcpdump
17
+unzip
18
+vim-enhanced
19
+wget
20
+
21
+findutils-locate # useful when debugging
22
+lsof # useful when debugging
0 23
new file mode 100644
... ...
@@ -0,0 +1,12 @@
0
+gcc
1
+libxml2-devel
2
+python-PasteDeploy
3
+python-Routes
4
+python-SQLAlchemy
5
+python-argparse
6
+python-devel
7
+python-eventlet
8
+python-greenlet
9
+python-iso8601
10
+python-wsgiref
11
+python-xattr
0 12
new file mode 100644
... ...
@@ -0,0 +1,23 @@
0
+apache2  # NOPRIME
1
+apache2-mod_wsgi  # NOPRIME
2
+nodejs
3
+python-CherryPy # why? (coming from apts)
4
+python-Paste
5
+python-PasteDeploy
6
+python-Routes
7
+python-Sphinx
8
+python-SQLAlchemy
9
+python-WebOb
10
+python-anyjson
11
+python-beautifulsoup
12
+python-coverage
13
+python-dateutil
14
+python-eventlet
15
+python-kombu
16
+python-mox
17
+python-netaddr
18
+python-nose
19
+python-pep8
20
+python-pylint
21
+python-sqlalchemy-migrate
22
+python-xattr
0 23
new file mode 100644
... ...
@@ -0,0 +1,17 @@
0
+cyrus-sasl-devel
1
+openldap2-devel
2
+python-Paste
3
+python-PasteDeploy
4
+python-PasteScript
5
+python-Routes
6
+python-SQLAlchemy
7
+python-WebOb
8
+python-devel
9
+python-distribute
10
+python-setuptools # instead of python-distribute; dist:sle11sp2
11
+python-greenlet
12
+python-lxml
13
+python-mysql
14
+python-py-bcrypt
15
+python-pysqlite
16
+sqlite3
0 17
new file mode 100644
... ...
@@ -0,0 +1,2 @@
0
+gcc  # temporary because this pulls in glance to get the client without running the glance prereqs
1
+python-dateutil
0 2
new file mode 100644
... ...
@@ -0,0 +1,4 @@
0
+# Stuff for diablo volumes
1
+genisoimage
2
+lvm2
3
+open-iscsi
0 4
new file mode 100644
... ...
@@ -0,0 +1 @@
0
+python-numpy
0 1
new file mode 100644
... ...
@@ -0,0 +1,2 @@
0
+lvm2
1
+tgt
0 2
new file mode 100644
... ...
@@ -0,0 +1,48 @@
0
+curl
1
+# Note: we need to package dhcp_release in dnsmasq!
2
+dnsmasq
3
+ebtables
4
+gawk
5
+iptables
6
+iputils
7
+kpartx
8
+kvm
9
+libvirt # NOPRIME
10
+libvirt-python
11
+libxml2-python
12
+mysql-community-server # NOPRIME
13
+parted
14
+python-M2Crypto
15
+python-m2crypto # dist:sle11sp2
16
+python-Paste
17
+python-PasteDeploy
18
+python-Routes
19
+python-SQLAlchemy
20
+python-Tempita
21
+python-boto
22
+python-carrot
23
+python-cheetah
24
+python-eventlet
25
+python-feedparser
26
+python-greenlet
27
+python-iso8601
28
+python-kombu
29
+python-lockfile
30
+python-lxml # needed for glance which is needed for nova --- this shouldn't be here
31
+python-mox
32
+python-mysql
33
+python-netaddr
34
+python-paramiko
35
+python-python-gflags
36
+python-sqlalchemy-migrate
37
+python-suds
38
+python-xattr # needed for glance which is needed for nova --- this shouldn't be here
39
+rabbitmq-server # NOPRIME
40
+socat
41
+sqlite3
42
+sudo
43
+vlan
44
+
45
+# FIXME: qpid is not part of openSUSE, those names are tentative
46
+python-qpid # NOPRIME
47
+qpidd # NOPRIME
0 48
new file mode 100644
... ...
@@ -0,0 +1 @@
0
+python-psycopg2
0 1
new file mode 100644
... ...
@@ -0,0 +1,27 @@
0
+# Note: we need to package dhcp_release in dnsmasq!
1
+dnsmasq
2
+ebtables
3
+iptables
4
+iputils
5
+mysql-community-server # NOPRIME
6
+python-boto
7
+python-eventlet
8
+python-greenlet
9
+python-iso8601
10
+python-kombu
11
+python-mysql
12
+python-netaddr
13
+python-Paste
14
+python-PasteDeploy
15
+python-pyudev
16
+python-Routes
17
+python-SQLAlchemy
18
+python-suds
19
+rabbitmq-server # NOPRIME
20
+sqlite3
21
+sudo
22
+vlan
23
+
24
+# FIXME: qpid is not part of openSUSE, those names are tentative
25
+python-qpid # NOPRIME
26
+qpidd # NOPRIME
0 27
new file mode 100644
... ...
@@ -0,0 +1,5 @@
0
+python-distribute
1
+python-setuptools # instead of python-distribute; dist:sle11sp2
2
+python-Sphinx
3
+python-gevent
4
+python-python-gflags
0 5
new file mode 100644
... ...
@@ -0,0 +1,19 @@
0
+curl
1
+gcc
2
+memcached
3
+python-PasteDeploy
4
+python-WebOb
5
+python-configobj
6
+python-coverage
7
+python-devel
8
+python-distribute
9
+python-setuptools # instead of python-distribute; dist:sle11sp2
10
+python-eventlet
11
+python-greenlet
12
+python-netifaces
13
+python-nose
14
+python-simplejson
15
+python-xattr
16
+sqlite3
17
+xfsprogs
18
+xinetd
... ...
@@ -84,7 +84,11 @@ EOF
84 84
         chmod 0600 $HOME/.my.cnf
85 85
     fi
86 86
     # Install mysql-server
87
-    install_package mysql-server
87
+    if is_suse; then
88
+        install_package mysql-community-server
89
+    else
90
+        install_package mysql-server
91
+    fi
88 92
 }
89 93
 
90 94
 function database_connection_url_mysql {
... ...
@@ -111,6 +111,8 @@ function install_horizon() {
111 111
     if [[ "$os_PACKAGE" = "deb" ]]; then
112 112
         # Install apache2, which is NOPRIME'd
113 113
         install_package apache2 libapache2-mod-wsgi
114
+    elif is_suse; then
115
+        install_package apache2 apache2-mod_wsgi
114 116
     else
115 117
         sudo rm -f /etc/httpd/conf.d/000-*
116 118
         install_package httpd mod_wsgi
... ...
@@ -715,12 +715,18 @@ set -o xtrace
715 715
 echo_summary "Installing package prerequisites"
716 716
 if [[ "$os_PACKAGE" = "deb" ]]; then
717 717
     install_package $(get_packages $FILES/apts)
718
+elif is_suse; then
719
+    install_package $(get_packages $FILES/rpms-suse)
718 720
 else
719 721
     install_package $(get_packages $FILES/rpms)
720 722
 fi
721 723
 
722 724
 if [[ $SYSLOG != "False" ]]; then
723
-    install_package rsyslog-relp
725
+    if is_suse; then
726
+        install_package rsyslog-module-relp
727
+    else
728
+        install_package rsyslog-relp
729
+    fi
724 730
 fi
725 731
 
726 732
 if is_service_enabled rabbit; then
... ...
@@ -738,7 +744,11 @@ elif is_service_enabled qpid; then
738 738
     fi
739 739
 elif is_service_enabled zeromq; then
740 740
     if [[ "$os_PACKAGE" = "rpm" ]]; then
741
-        install_package zeromq python-zmq
741
+        if is_suse; then
742
+            install_package libzmq1 python-pyzmq
743
+        else
744
+            install_package zeromq python-zmq
745
+        fi
742 746
     else
743 747
         install_package libzmq1 python-zmq
744 748
     fi