Sha256: ca52257a820819eda49bf1089a623df21d2e1d4a0fa29757a9e8c402c5c63c5f

Contents?: true

Size: 655 Bytes

Versions: 63

Compression:

Stored size: 655 Bytes

Contents

#!/bin/sh -e

case "$1" in
    purge)
		# Remove puppetd.conf (used in > 0.24)
		rm -f /etc/puppet/puppetd.conf

		# Remove puppet state directory created by the postinst script.
		# This directory can be removed without causing harm 
		# according to upstream documentation.
		rm -rf /var/lib/puppet/state
		if [ -d /var/lib/puppet ]; then
			rmdir --ignore-fail-on-non-empty /var/lib/puppet
		fi

		# Remove puppet log files
		rm -rf /var/log/puppet/
		;;
    remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)


        ;;

    *)
        echo "postrm called with unknown argument \`$1'" >&2
        exit 1

esac

#DEBHELPER#

exit 0

Version data entries

63 entries across 63 versions & 2 rubygems

Version Path
puppet-2.7.26 ext/debian/puppet-common.postrm
puppet-3.6.2 ext/debian/puppet-common.postrm
puppet-3.6.2-x86-mingw32 ext/debian/puppet-common.postrm
puppet-3.6.1 ext/debian/puppet-common.postrm
puppet-3.6.1-x86-mingw32 ext/debian/puppet-common.postrm
puppet-3.6.0 ext/debian/puppet-common.postrm
puppet-3.6.0-x86-mingw32 ext/debian/puppet-common.postrm
puppet-3.6.0.rc1 ext/debian/puppet-common.postrm
puppet-3.6.0.rc1-x86-mingw32 ext/debian/puppet-common.postrm
puppet-3.5.1 ext/debian/puppet-common.postrm
puppet-3.5.1-x86-mingw32 ext/debian/puppet-common.postrm
puppet-3.5.1.rc1 ext/debian/puppet-common.postrm
puppet-3.5.1.rc1-x86-mingw32 ext/debian/puppet-common.postrm
puppet-3.5.0.rc3 ext/debian/puppet-common.postrm
puppet-3.5.0.rc3-x86-mingw32 ext/debian/puppet-common.postrm
puppet-3.5.0.rc2 ext/debian/puppet-common.postrm
puppet-3.5.0.rc2-x86-mingw32 ext/debian/puppet-common.postrm
puppet-3.5.0.rc1 ext/debian/puppet-common.postrm
puppet-3.5.0.rc1-x86-mingw32 ext/debian/puppet-common.postrm
puppet-3.4.3 ext/debian/puppet-common.postrm