From ca820fff9510ccd2b0aa9194b25d6bfde594ffdb Mon Sep 17 00:00:00 2001 From: Nathan Cutler Date: Tue, 24 Oct 2017 15:28:33 +0200 Subject: [PATCH] build/ops: rpm: recommend python-influxdb with ceph-mgr The influxdb module won't run if python-influxdb is not present (but it will be graceful about not running). That means python-influxdb is a dependency of that module, not mgr itself. However, we are not (yet) packaging the modules separately. (When we do, this could become a Requires: of the module.) RPM itself does not support "Recommends", and ignores this line. Higher-level tools may or may not support it, so put this line in a SUSE-only conditional since we know that zypper supports it. Signed-off-by: Nathan Cutler Signed-off-by: Tim Serong --- ceph.spec.in | 1 + 1 file changed, 1 insertion(+) diff --git a/ceph.spec.in b/ceph.spec.in index f5fc9d995b136..cba1b8674d416 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -330,6 +330,7 @@ Requires: pyOpenSSL Requires: python-CherryPy Requires: python-Werkzeug Requires: python-pyOpenSSL +Recommends: python-influxdb %endif Requires: python-pecan %description mgr -- 2.39.5