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.22 ext/debian/puppet-common.postrm
puppet-3.2.1 ext/debian/puppet-common.postrm
puppet-3.2.1.rc1 ext/debian/puppet-common.postrm
puppet-3.2.0.rc2 ext/debian/puppet-common.postrm
librarian-puppet-0.9.9 vendor/gems/ruby/1.9.1/gems/puppet-3.1.0/ext/debian/puppet-common.postrm
puppet-3.2.0.rc1 ext/debian/puppet-common.postrm
puppet-2.7.21 ext/debian/puppet-common.postrm
puppet-3.1.1 ext/debian/puppet-common.postrm
librarian-puppet-0.9.8 vendor/gems/ruby/1.9.1/gems/puppet-3.1.0/ext/debian/puppet-common.postrm
puppet-3.1.0 ext/debian/puppet-common.postrm
puppet-3.1.0.rc2 ext/debian/puppet-common.postrm
puppet-3.1.0.rc1 ext/debian/puppet-common.postrm
puppet-3.0.2 ext/debian/puppet-common.postrm
puppet-3.0.2.rc3 ext/debian/puppet-common.postrm
puppet-3.0.2.rc2 ext/debian/puppet-common.postrm
puppet-3.0.2.rc1 ext/debian/puppet-common.postrm
puppet-2.7.20 ext/debian/puppet-common.postrm
puppet-2.7.20.rc1 ext/debian/puppet-common.postrm
puppet-3.0.1 ext/debian/puppet-common.postrm
puppet-3.0.1.rc1 ext/debian/puppet-common.postrm