Yes, I'm replacing the file path with the same thing if it reappears. So /etc/puppet/modules/foo/manifests/init.pp will be replaced with the same content each time. I also try to emulate a module path as well (ie. /etc/puppet/modules/<somethingrandom>/manifests/<somethingrandom>.pp) so it looks like a real file that would contain content.