[Pkg-puppet-devel] [SCM] Puppet packaging for Debian branch, master, updated. puppet-0.24.5-rc3-1707-g8e37d21

Stig Sandbeck Mathisen ssm at debian.org
Sun Feb 14 14:39:22 UTC 2010


The following commit has been merged in the master branch:
commit e8eab7e6bee865a1f517d0d9f5d29371c3081b35
Author: Stig Sandbeck Mathisen <ssm at debian.org>
Date:   Sun Feb 14 13:55:20 2010 +0000

    explicitly remove directory created in postinst

diff --git a/debian/puppet.postrm b/debian/puppet.postrm
index bcf2ef9..f7fedec 100644
--- a/debian/puppet.postrm
+++ b/debian/puppet.postrm
@@ -2,8 +2,12 @@
 
 case "$1" in
     purge)
-	rm -f /etc/puppet/puppetd.conf
-	;;
+		# Remove puppetd.conf (used in > 0.24)
+		rm -f /etc/puppet/puppetd.conf
+
+		# Remove explicitly created state directory
+		rm -rf /var/lib/puppet/state
+		;;
     remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
 
 

-- 
Puppet packaging for Debian



More information about the Pkg-puppet-devel mailing list