From: Noah Watkins Date: Mon, 11 Feb 2019 19:38:17 +0000 (-0800) Subject: spec.ceph: package ssh orchestrator X-Git-Tag: v14.1.0~37^2~3 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=c9fc8d3a7ca1449f66af2838d7c3864ab38a08db;p=ceph-ci.git spec.ceph: package ssh orchestrator Signed-off-by: Noah Watkins --- diff --git a/ceph.spec.in b/ceph.spec.in index 93fa39721d2..bd7bfbb3b66 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -439,6 +439,7 @@ Recommends: ceph-mgr-dashboard = %{_epoch_prefix}%{version}-%{release} Recommends: ceph-mgr-diskprediction-local = %{_epoch_prefix}%{version}-%{release} Recommends: ceph-mgr-diskprediction-cloud = %{_epoch_prefix}%{version}-%{release} Recommends: ceph-mgr-rook = %{_epoch_prefix}%{version}-%{release} +Recommends: ceph-mgr-ssh = %{_epoch_prefix}%{version}-%{release} %endif %description mgr ceph-mgr enables python modules that provide services (such as the REST @@ -508,6 +509,18 @@ Requires: ceph-mgr = %{_epoch_prefix}%{version}-%{release} ceph-mgr-rook is a ceph-mgr plugin for orchestration functions using a Rook backend. +%package mgr-ssh +Summary: ceph-mgr ssh module +BuildArch: noarch +%if 0%{?suse_version} +Group: System/Filesystems +%endif +Requires: ceph-mgr = %{_epoch_prefix}%{version}-%{release} +Requires: python-remoto +%description mgr-ssh +ceph-mgr-ssh is a ceph-mgr module for orchestration functions using +direct SSH connections for management operations. + %package fuse Summary: Ceph fuse-based client %if 0%{?suse_version} @@ -1583,6 +1596,19 @@ if [ $1 -eq 1 ] ; then /usr/bin/systemctl try-restart ceph-mgr.target >/dev/null 2>&1 || : fi +%files mgr-ssh +%{_datadir}/ceph/mgr/ssh + +%post mgr-ssh +if [ $1 -eq 1 ] ; then + /usr/bin/systemctl try-restart ceph-mgr.target >/dev/null 2>&1 || : +fi + +%postun mgr-ssh +if [ $1 -eq 1 ] ; then + /usr/bin/systemctl try-restart ceph-mgr.target >/dev/null 2>&1 || : +fi + %files mon %{_bindir}/ceph-mon %{_bindir}/ceph-monstore-tool