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-6.22.1 ext/debian/puppet-common.postrm
puppet-6.22.1-x86-mingw32 ext/debian/puppet-common.postrm
puppet-6.22.1-x64-mingw32 ext/debian/puppet-common.postrm
puppet-6.22.1-universal-darwin ext/debian/puppet-common.postrm
puppet-7.6.1 ext/debian/puppet-common.postrm
puppet-7.6.1-x86-mingw32 ext/debian/puppet-common.postrm
puppet-7.6.1-x64-mingw32 ext/debian/puppet-common.postrm
puppet-7.6.1-universal-darwin ext/debian/puppet-common.postrm
puppet-7.5.0 ext/debian/puppet-common.postrm
puppet-7.5.0-x86-mingw32 ext/debian/puppet-common.postrm
puppet-7.5.0-x64-mingw32 ext/debian/puppet-common.postrm
puppet-7.5.0-universal-darwin ext/debian/puppet-common.postrm
puppet-7.4.1 ext/debian/puppet-common.postrm
puppet-7.4.1-x86-mingw32 ext/debian/puppet-common.postrm
puppet-7.4.1-x64-mingw32 ext/debian/puppet-common.postrm
puppet-7.4.1-universal-darwin ext/debian/puppet-common.postrm
puppet-6.21.1 ext/debian/puppet-common.postrm
puppet-6.21.1-x86-mingw32 ext/debian/puppet-common.postrm
puppet-6.21.1-x64-mingw32 ext/debian/puppet-common.postrm
puppet-6.21.1-universal-darwin ext/debian/puppet-common.postrm