add support for purging config files

the same as:
https://github.com/puppetlabs/puppetlabs-glance/pull/68