]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rpm: implement scriptlets for the post-split daemon packages
authorNathan Cutler <ncutler@suse.com>
Tue, 19 Apr 2016 12:48:41 +0000 (14:48 +0200)
committerNathan Cutler <ncutler@suse.com>
Wed, 27 Apr 2016 12:24:51 +0000 (14:24 +0200)
commit644aba9270714e5e231ac7d7e3437477837531eb
tree772ee1a637dcbf9e286b750e1ea425c9fc57eec3
parent53b1a6799c2ce08acc8382e4aa996d1bde700316
rpm: implement scriptlets for the post-split daemon packages

This patch gives each of the ceph-{mds,mon,osd,radosgw} packages its own
%post, %preun, and %postun scriptlets dealing with the package's unit files.

The scriptlets of ceph-base are adapted to handle the ceph.target unit file
only.

The scriptlets of ceph-mon handle ceph-create-keys services in addition to ceph-mon.

The scriptlets of ceph-osd handle ceph-disk services in addition to ceph-osd.

Fixes: http://tracker.ceph.com/issues/14941
Signed-off-by: Nathan Cutler <ncutler@suse.com>
Signed-off-by: Boris Ranto <branto@redhat.com>
ceph.spec.in