#!/bin/sh

set -e

if [ "${1}" = "purge" ] ; then
	rm -f /etc/heat/heat-api-cfn.conf
	[ -d /etc/heat ] && rmdir --ignore-fail-on-non-empty /etc/heat
	rm -rf /var/log/heat/api-cfn*
	[ -d /var/log/heat ] && rmdir --ignore-fail-on-non-empty /var/log/heat
fi

#DEBHELPER#

exit 0
