packaging: explicit jinja2 dependency for dashboard

We were getting this via python-flask, when mgr was
installed on nodes with ceph-mon, but for correctness
in general we should depend on it from ceph-mgr (it
is imported by the dashboard module).

Fixes: http://tracker.ceph.com/issues/22457
Signed-off-by: John Spray <john.spray@redhat.com>
This commit is contained in:
John Spray 2017-12-19 11:41:08 +00:00
parent dc236764ce
commit 87399bea83
2 changed files with 3 additions and 0 deletions

View File

@ -340,11 +340,13 @@ Group: System/Filesystems
Requires: ceph-base = %{_epoch_prefix}%{version}-%{release}
%if 0%{?fedora} || 0%{?rhel}
Requires: python-cherrypy
Requires: python-jinja2
Requires: python-werkzeug
Requires: pyOpenSSL
%endif
%if 0%{?suse_version}
Requires: python-CherryPy
Requires: python-Jinja2
Requires: python-Werkzeug
Requires: python-pyOpenSSL
Recommends: python-influxdb

1
debian/control vendored
View File

@ -51,6 +51,7 @@ Build-Depends: bc,
python (>= 2.7),
python-all-dev,
python-cherrypy3,
python-jinja2,
python-nose,
python-pecan,
python-prettytable,