]> git.apps.os.sepia.ceph.com Git - teuthology.git/commitdiff
task/install: move package list to top of file
authorSage Weil <sage@redhat.com>
Wed, 27 Aug 2014 00:10:26 +0000 (17:10 -0700)
committerSage Weil <sage@redhat.com>
Wed, 27 Aug 2014 00:10:26 +0000 (17:10 -0700)
Signed-off-by: Sage Weil <sage@redhat.com>
teuthology/task/install.py

index 1f0aa4229762f1ddada2120009a2b1d48d193b2d..57f9757d216dbda92d2897b4c996954cc5cc5705 100644 (file)
@@ -56,6 +56,36 @@ PACKAGES['ceph']['rpm'] = [
     'python-ceph',
 ]
 
+deb_packages = {'ceph': [
+    'ceph',
+    'ceph-dbg',
+    'ceph-mds',
+    'ceph-mds-dbg',
+    'ceph-common',
+    'ceph-common-dbg',
+    'ceph-fuse',
+    'ceph-fuse-dbg',
+    'ceph-test',
+    'ceph-test-dbg',
+    'radosgw',
+    'radosgw-dbg',
+    'python-ceph',
+    'libcephfs1',
+    'libcephfs1-dbg',
+]}
+
+rpm_packages = {'ceph': [
+    'ceph-debuginfo',
+    'ceph-radosgw',
+    'ceph-test',
+    'ceph-devel',
+    'ceph',
+    'ceph-fuse',
+    'rest-bench',
+    'libcephfs_jni1',
+    'libcephfs1',
+    'python-ceph',
+]}
 
 def _run_and_log_error_if_fails(remote, args):
     """
@@ -730,38 +760,6 @@ def remove_sources(ctx, config):
             p.spawn(remove_sources_pkgs[
                     system_type], remote, 'calamari')
 
-deb_packages = {'ceph': [
-    'ceph',
-    'ceph-dbg',
-    'ceph-mds',
-    'ceph-mds-dbg',
-    'ceph-common',
-    'ceph-common-dbg',
-    'ceph-fuse',
-    'ceph-fuse-dbg',
-    'ceph-test',
-    'ceph-test-dbg',
-    'radosgw',
-    'radosgw-dbg',
-    'python-ceph',
-    'libcephfs1',
-    'libcephfs1-dbg',
-]}
-
-rpm_packages = {'ceph': [
-    'ceph-debuginfo',
-    'ceph-radosgw',
-    'ceph-test',
-    'ceph-devel',
-    'ceph',
-    'ceph-fuse',
-    'rest-bench',
-    'libcephfs_jni1',
-    'libcephfs1',
-    'python-ceph',
-]}
-
-
 @contextlib.contextmanager
 def install(ctx, config):
     """