Skip to content

Commit

Permalink
packaging: explicit jinja2 dependency for dashboard
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
John Spray committed Dec 19, 2017
1 parent dc23676 commit 87399be
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ceph.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ Build-Depends: bc,
python (>= 2.7),
python-all-dev,
python-cherrypy3,
python-jinja2,
python-nose,
python-pecan,
python-prettytable,
Expand Down

0 comments on commit 87399be

Please sign in to comment.