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-4.4.2-x64-mingw32 ext/debian/puppet-common.postrm
puppet-4.4.2-universal-darwin ext/debian/puppet-common.postrm
puppet-3.8.7 ext/debian/puppet-common.postrm
puppet-3.8.7-x86-mingw32 ext/debian/puppet-common.postrm
puppet-3.8.7-x64-mingw32 ext/debian/puppet-common.postrm
puppet-4.4.1 ext/debian/puppet-common.postrm
puppet-4.4.1-x86-mingw32 ext/debian/puppet-common.postrm
puppet-4.4.1-x64-mingw32 ext/debian/puppet-common.postrm
puppet-4.4.1-universal-darwin ext/debian/puppet-common.postrm
puppet-4.4.0 ext/debian/puppet-common.postrm
puppet-4.4.0-x86-mingw32 ext/debian/puppet-common.postrm
puppet-4.4.0-x64-mingw32 ext/debian/puppet-common.postrm
puppet-4.4.0-universal-darwin ext/debian/puppet-common.postrm
puppet-3.8.6 ext/debian/puppet-common.postrm
puppet-3.8.6-x86-mingw32 ext/debian/puppet-common.postrm
puppet-3.8.6-x64-mingw32 ext/debian/puppet-common.postrm
puppet-4.3.2 ext/debian/puppet-common.postrm
puppet-4.3.2-x86-mingw32 ext/debian/puppet-common.postrm
puppet-4.3.2-x64-mingw32 ext/debian/puppet-common.postrm
puppet-3.8.5 ext/debian/puppet-common.postrm