From cd42ebfc2a3e59377fb99380f572a2849390ec75 Mon Sep 17 00:00:00 2001 From: Shinya Hayashi Date: Tue, 30 Jan 2024 10:32:50 +0000 Subject: [PATCH] debian: add ceph-exporter package 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 (cherry picked from commit a53c0651fbd8991e258ce7d0e3a80865dabfea88) (cherry picked from commit 0479bc612ac630b0cc5d57b7d1b7f8439152d437) --- debian/ceph-exporter.install | 1 + debian/control | 24 ++++++++++++++++++++++++ debian/rules | 1 + 3 files changed, 26 insertions(+) create mode 100644 debian/ceph-exporter.install diff --git a/debian/ceph-exporter.install b/debian/ceph-exporter.install new file mode 100644 index 0000000000000..618cf9eadcc1e --- /dev/null +++ b/debian/ceph-exporter.install @@ -0,0 +1 @@ +usr/bin/ceph-exporter diff --git a/debian/control b/debian/control index cb6ff92cba2c2..ddba52be7bb00 100644 --- a/debian/control +++ b/debian/control @@ -352,6 +352,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}), diff --git a/debian/rules b/debian/rules index ed7f4a255ed4b..68c69e0447499 100755 --- a/debian/rules +++ b/debian/rules @@ -105,6 +105,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 -- 2.39.5