[Pkg-ceph-commits] [ceph] 01/01: d/ceph.{postinst, preinst, postrm}: Ensure that ceph logrotate configuration is purged on upgrade from pre-yakkety installs (LP: #1635844).

James Downing Page jamespage at moszumanska.debian.org
Tue Nov 15 13:42:24 UTC 2016


This is an automated email from the git hooks/post-receive script.

jamespage pushed a commit to branch ubuntu/zesty
in repository ceph.

commit c4483e8a7f3104e8320c10d11bc7488be538e163
Author: James Page <james.page at ubuntu.com>
Date:   Tue Nov 15 13:41:50 2016 +0000

    d/ceph.{postinst,preinst,postrm}: Ensure that ceph logrotate configuration is purged on upgrade from pre-yakkety installs (LP: #1635844).
---
 debian/ceph.postinst | 10 ++++++++++
 debian/ceph.postrm   | 10 ++++++++++
 debian/ceph.preinst  | 10 ++++++++++
 debian/changelog     |  8 ++++++++
 4 files changed, 38 insertions(+)

diff --git a/debian/ceph.postinst b/debian/ceph.postinst
new file mode 100644
index 0000000..8343a76
--- /dev/null
+++ b/debian/ceph.postinst
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+set -e
+
+dpkg-maintscript-helper rm_conffile \
+	/etc/logrotate.d/ceph 10.2.3-0ubuntu4 -- "$@"
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/ceph.postrm b/debian/ceph.postrm
new file mode 100644
index 0000000..8343a76
--- /dev/null
+++ b/debian/ceph.postrm
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+set -e
+
+dpkg-maintscript-helper rm_conffile \
+	/etc/logrotate.d/ceph 10.2.3-0ubuntu4 -- "$@"
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/ceph.preinst b/debian/ceph.preinst
new file mode 100644
index 0000000..8343a76
--- /dev/null
+++ b/debian/ceph.preinst
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+set -e
+
+dpkg-maintscript-helper rm_conffile \
+	/etc/logrotate.d/ceph 10.2.3-0ubuntu4 -- "$@"
+
+#DEBHELPER#
+
+exit 0
diff --git a/debian/changelog b/debian/changelog
index 886b864..d1791f0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+ceph (10.2.3-0ubuntu4) UNRELEASED; urgency=medium
+
+  * d/ceph.{postinst,preinst,postrm}: Ensure that ceph logrotate
+    configuration is purged on upgrade from pre-yakkety installs
+    (LP: #1635844).
+
+ -- James Page <james.page at ubuntu.com>  Tue, 15 Nov 2016 13:40:37 +0000
+
 ceph (10.2.3-0ubuntu3) zesty; urgency=medium
 
   * rgw: Fixes for creation times for buckets (LP: #1587261).

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ceph/ceph.git



More information about the Pkg-ceph-commits mailing list