From e095b1d4939850c8c55fa2131b88e457cde770d0 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 1 Apr 2014 14:38:05 -0700 Subject: [PATCH] debian: make ceph-common own etc/ceph, var/log/ceph Clients can make use of these directories, and ceph-common is required by ceph, so nothing should break here. Change the purge postrm script to be for ceph-common (it does nothing else). Signed-off-by: Sage Weil --- debian/ceph-common.dirs | 2 ++ debian/{ceph.postrm => ceph-common.postrm} | 2 +- debian/ceph.dirs | 2 -- 3 files changed, 3 insertions(+), 3 deletions(-) create mode 100644 debian/ceph-common.dirs rename debian/{ceph.postrm => ceph-common.postrm} (96%) diff --git a/debian/ceph-common.dirs b/debian/ceph-common.dirs new file mode 100644 index 0000000000000..4987b42ac97bd --- /dev/null +++ b/debian/ceph-common.dirs @@ -0,0 +1,2 @@ +etc/ceph +var/log/ceph diff --git a/debian/ceph.postrm b/debian/ceph-common.postrm similarity index 96% rename from debian/ceph.postrm rename to debian/ceph-common.postrm index 48e4853c08479..b62185483cb6e 100644 --- a/debian/ceph.postrm +++ b/debian/ceph-common.postrm @@ -1,5 +1,5 @@ #!/bin/sh -# postrm script for ceph +# postrm script for ceph-common # # see: dh_installdeb(1) diff --git a/debian/ceph.dirs b/debian/ceph.dirs index ca7a880636cc4..21b6c23ca0364 100644 --- a/debian/ceph.dirs +++ b/debian/ceph.dirs @@ -1,5 +1,3 @@ -etc/ceph -var/log/ceph var/lib/ceph/tmp var/lib/ceph/mon var/lib/ceph/osd