]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
debian: add ceph-exporter package
authorShinya Hayashi <shinya-hayashi@cybozu.co.jp>
Tue, 30 Jan 2024 10:32:50 +0000 (10:32 +0000)
committerShinya Hayashi <shinya-hayashi@cybozu.co.jp>
Thu, 13 Mar 2025 09:01:23 +0000 (09:01 +0000)
It is hard for Debian/Ubuntu users to use ceph-exporter
because it is not included in any deb packages.

This commit adds a new deb package for ceph-exporter.

Fixes: https://tracker.ceph.com/issues/64095
Signed-off-by: Shinya Hayashi <shinya-hayashi@cybozu.co.jp>
(cherry picked from commit a53c0651fbd8991e258ce7d0e3a80865dabfea88)

debian/ceph-exporter.install [new file with mode: 0644]
debian/control
debian/rules

diff --git a/debian/ceph-exporter.install b/debian/ceph-exporter.install
new file mode 100644 (file)
index 0000000..618cf9e
--- /dev/null
@@ -0,0 +1 @@
+usr/bin/ceph-exporter
index 041dfcc7980e8d6a224dcd22f9f9bed187e2c747..cb2864aa5003a40587b1c32d45e5d31141b83208 100644 (file)
@@ -355,6 +355,30 @@ Description: debugging symbols for ceph-mgr
  .
  This package contains the debugging symbols for ceph-mgr.
 
+Package: ceph-exporter
+Architecture: linux-any
+Depends: ceph-base (= ${binary:Version}),
+Description: metrics exporter for the ceph distributed storage system
+ Ceph is a massively scalable, open-source, distributed
+ storage system that runs on commodity hardware and delivers object,
+ block and file system storage.
+ .
+ This package contains the metrics exporter daemon, which is used to expose
+ the performance metrics.
+
+Package: ceph-exporter-dbg
+Architecture: linux-any
+Section: debug
+Priority: extra
+Depends: ceph-exporter (= ${binary:Version}),
+         ${misc:Depends},
+Description: debugging symbols for ceph-exporter
+ Ceph is a massively scalable, open-source, distributed
+ storage system that runs on commodity hardware and delivers object,
+ block and file system storage.
+ .
+ This package contains the debugging symbols for ceph-exporter.
+
 Package: ceph-mon
 Architecture: linux-any
 Depends: ceph-base (= ${binary:Version}),
index 442ea28d4e0b0291376a10de1424ff8ca2c7f5db..3fbed3f3a2e8db0ac320096e8ec46f125f7987aa 100755 (executable)
@@ -106,6 +106,7 @@ override_dh_strip:
        dh_strip -pceph-mds --dbg-package=ceph-mds-dbg
        dh_strip -pceph-fuse --dbg-package=ceph-fuse-dbg
        dh_strip -pceph-mgr --dbg-package=ceph-mgr-dbg
+       dh_strip -pceph-exporter --dbg-package=ceph-exporter-dbg
        dh_strip -pceph-mon --dbg-package=ceph-mon-dbg
        dh_strip -pceph-osd --dbg-package=ceph-osd-dbg
        dh_strip -pceph-base --dbg-package=ceph-base-dbg