summaryrefslogtreecommitdiffstats
path: root/debian/puppet.postrm
diff options
context:
space:
mode:
Diffstat (limited to 'debian/puppet.postrm')
-rw-r--r--debian/puppet.postrm21
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/puppet.postrm b/debian/puppet.postrm
new file mode 100644
index 000000000..da994c3c3
--- /dev/null
+++ b/debian/puppet.postrm
@@ -0,0 +1,21 @@
+#! /bin/sh
+
+case "$1" in
+ purge)
+ rm -rf /var/lib/puppet
+ /usr/sbin/deluser --system puppet
+ ;;
+ remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
+
+
+ ;;
+
+ *)
+ echo "postrm called with unknown argument \`$1'" >&2
+ exit 1
+
+esac
+
+#DEBHELPER#
+
+exit 0