]> git-server-git.apps.pok.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>
Thu, 28 Apr 2016 08:20:15 +0000 (10:20 +0200)
commitc72f0bc3d4fb9a3f5abfefcf8d2775721d95b33a
treed394ef618650660ae8a4183fedab89c6884ab674
parent81f407337da18b5b555c6737e394a0e054d7c7da
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>
(cherry picked from commit 644aba9270714e5e231ac7d7e3437477837531eb)
ceph.spec.in