debian: package ssh orchestrator

Signed-off-by: Noah Watkins <noahwatkins@gmail.com>
This commit is contained in:
Noah Watkins 2019-02-12 14:02:42 -08:00
parent c9fc8d3a7c
commit b5972a53d9
4 changed files with 69 additions and 1 deletions

1
debian/ceph-mgr-ssh.install vendored Normal file
View File

@ -0,0 +1 @@
usr/share/ceph/mgr/ssh

43
debian/ceph-mgr-ssh.postinst vendored Normal file
View File

@ -0,0 +1,43 @@
#!/bin/sh
# vim: set noet ts=8:
# postinst script for ceph-mgr-ssh
#
# see: dh_installdeb(1)
set -e
# summary of how this script can be called:
#
# postinst configure <most-recently-configured-version>
# old-postinst abort-upgrade <new-version>
# conflictor's-postinst abort-remove in-favour <package> <new-version>
# postinst abort-remove
# deconfigured's-postinst abort-deconfigure in-favour <failed-install-package> <version> [<removing conflicting-package> <version>]
#
# for details, see http://www.debian.org/doc/debian-policy/ or
# the debian-policy package
case "$1" in
configure)
# attempt to load the plugin if the mgr is running
deb-systemd-invoke try-restart ceph-mgr.target
;;
abort-upgrade|abort-remove|abort-deconfigure)
:
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
#DEBHELPER#
exit 0

8
debian/ceph-mgr-ssh.prerm vendored Normal file
View File

@ -0,0 +1,8 @@
#!/bin/sh
# vim: set noet ts=8:
set -e
#DEBHELPER#
exit 0

18
debian/control vendored
View File

@ -190,7 +190,8 @@ Depends: ceph-base (= ${binary:Version}),
Recommends: ceph-mgr-dashboard,
ceph-mgr-diskprediction-local,
ceph-mgr-diskprediction-cloud,
ceph-mgr-rook
ceph-mgr-rook,
ceph-mgr-ssh
Suggests: python-influxdb
Replaces: ceph (<< 0.93-417),
Breaks: ceph (<< 0.93-417),
@ -272,6 +273,21 @@ Description: rook plugin for ceph-mgr
functionality, to allow ceph-mgr to install and configure ceph using
Rook.
Package: ceph-mgr-ssh
Architecture: all
Depends: ceph-mgr (= ${binary:Version}),
python-six,
${misc:Depends},
${python:Depends},
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,
block and file system storage.
.
This package contains the SSH plugin for ceph-mgr's orchestration
functionality, to allow ceph-mgr to perform orchestration functions
over a standard SSH connection.
Package: ceph-mgr-dbg
Architecture: linux-any
Section: debug