Browse code

Merge "Add package names for openSUSE/SLE"

Jenkins authored on 2012/12/05 02:18:44
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 {
... ...
@@ -113,6 +113,8 @@ function install_horizon() {
113 113
     if [[ "$os_PACKAGE" = "deb" ]]; then
114 114
         # Install apache2, which is NOPRIME'd
115 115
         install_package apache2 libapache2-mod-wsgi
116
+    elif is_suse; then
117
+        install_package apache2 apache2-mod_wsgi
116 118
     else
117 119
         sudo rm -f /etc/httpd/conf.d/000-*
118 120
         install_package httpd mod_wsgi
... ...
@@ -679,12 +679,18 @@ set -o xtrace
679 679
 echo_summary "Installing package prerequisites"
680 680
 if [[ "$os_PACKAGE" = "deb" ]]; then
681 681
     install_package $(get_packages $FILES/apts)
682
+elif is_suse; then
683
+    install_package $(get_packages $FILES/rpms-suse)
682 684
 else
683 685
     install_package $(get_packages $FILES/rpms)
684 686
 fi
685 687
 
686 688
 if [[ $SYSLOG != "False" ]]; then
687
-    install_package rsyslog-relp
689
+    if is_suse; then
690
+        install_package rsyslog-module-relp
691
+    else
692
+        install_package rsyslog-relp
693
+    fi
688 694
 fi
689 695
 
690 696
 if is_service_enabled rabbit; then
... ...
@@ -702,7 +708,11 @@ elif is_service_enabled qpid; then
702 702
     fi
703 703
 elif is_service_enabled zeromq; then
704 704
     if [[ "$os_PACKAGE" = "rpm" ]]; then
705
-        install_package zeromq python-zmq
705
+        if is_suse; then
706
+            install_package libzmq1 python-pyzmq
707
+        else
708
+            install_package zeromq python-zmq
709
+        fi
706 710
     else
707 711
         install_package libzmq1 python-zmq
708 712
     fi