]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
spec,debian: ceph-mgr-ssh depends on openssh{-client{s}}
authorSebastian Wagner <sebastian.wagner@suse.com>
Fri, 22 Nov 2019 09:13:29 +0000 (10:13 +0100)
committerSebastian Wagner <sebastian.wagner@suse.com>
Fri, 22 Nov 2019 09:32:14 +0000 (10:32 +0100)
Container images don't include ssh by default. Thus we
have to explictly depend on it.

Signed-off-by: Sebastian Wagner <sebastian.wagner@suse.com>
ceph.spec.in
debian/control

index bc2fc59fed4bb7decbf148d423d6d6f5a962967a..aa39ab9769d2c98657b18878606d3a65d8dae858 100644 (file)
@@ -604,6 +604,12 @@ Group:          System/Filesystems
 Requires:       ceph-mgr = %{_epoch_prefix}%{version}-%{release}
 Requires:       python%{_python_buildid}-remoto
 Requires:       ceph-daemon = %{_epoch_prefix}%{version}-%{release}
+%if 0%{?suse_version}
+Requires:       openssh
+%endif
+%if 0%{?rhel} || 0%{?fedora}
+Requires:       openssh-clients
+%endif
 %description mgr-ssh
 ceph-mgr-ssh is a ceph-mgr module for orchestration functions using
 direct SSH connections for management operations.
index d1e549ea2b8df79945e4b8622c4ae530e001d804..6fd1e6c3f135d2607c3a545224b194a85b7702de 100644 (file)
@@ -333,6 +333,7 @@ Depends: ceph-mgr (= ${binary:Version}),
         python-six,
          ${misc:Depends},
          ${python:Depends},
+         openssh-client
 Description: ssh orchestrator plugin for ceph-mgr
  Ceph is a massively scalable, open-source, distributed
  storage system that runs on commodity hardware and delivers object,