Sha256: 1fb29c344badd545f79cc9ae4a8307919136df3cb99b29b037202e3321f686f8

Contents?: true

Size: 687 Bytes

Versions: 539

Compression:

Stored size: 687 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
		rm -rf /var/lib/puppet/reports
		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

539 entries across 539 versions & 2 rubygems

Version Path
puppet-3.7.5-x64-mingw32 ext/debian/puppet-common.postrm
puppet-4.0.0.rc1 ext/debian/puppet-common.postrm
puppet-4.0.0.rc1-x86-mingw32 ext/debian/puppet-common.postrm
puppet-4.0.0.rc1-x64-mingw32 ext/debian/puppet-common.postrm
puppet-3.7.4 ext/debian/puppet-common.postrm
puppet-3.7.4-x86-mingw32 ext/debian/puppet-common.postrm
puppet-3.7.4-x64-mingw32 ext/debian/puppet-common.postrm
puppet-3.7.3 ext/debian/puppet-common.postrm
puppet-3.7.3-x86-mingw32 ext/debian/puppet-common.postrm
puppet-3.7.3-x64-mingw32 ext/debian/puppet-common.postrm
puppet-3.7.2 ext/debian/puppet-common.postrm
puppet-3.7.2-x86-mingw32 ext/debian/puppet-common.postrm
puppet-3.7.2-x64-mingw32 ext/debian/puppet-common.postrm
puppet-3.7.1 ext/debian/puppet-common.postrm
puppet-3.7.1-x86-mingw32 ext/debian/puppet-common.postrm
puppet-3.7.1-x64-mingw32 ext/debian/puppet-common.postrm
puppet-3.7.0 ext/debian/puppet-common.postrm
puppet-3.7.0-x86-mingw32 ext/debian/puppet-common.postrm
puppet-3.7.0-x64-mingw32 ext/debian/puppet-common.postrm