Puppet exported resources purge definition
About resource types Built-in types and custom types This is the documentation for Puppet’s built-in resource types and providers. Additional resource types are distributed in Puppet modules. Finding & purging Puppet exported resources. Of course like everything in the Puppet universe, it’s not without some catch – the biggest issue I’ve run into is that if you have a mistake and generate bad exported resources it can be extremely hard to find which node . So, to answer your question directly, I don't believe getting a list of exported resources directly from erb is possible. This is due to the nature of exported resources. To Puppet, they're just more resources that need to be created on the host. But, there is a way to accomplish what you're looking to do. I do it in a few places in my environment.