If I have a yum repo resource:
it will empty a file called test.repo but it won't actually remove the file. The expectation is that it would actually remove the file too. It should clean up properly after itself.
Ideally the ability to specify purge like you can for the apt class would be great.
The was tested on CentOS 6.7