This enables you to list resources in YAML format for copy/paste into Hiera files.
The output should be suitable for use with the create_resources function
In my consulting jobs, I often get an example machine that has been setup with a deployment script. A lot of the settings have to be managed by Puppet.
The puppet resource face can be used to output DSL, but I use create_resources a lot combined with Hiera data. I found this particularly useful with firewall rules, but also for some other stuff.
As said, here is the pull request. https://github.com/puppetlabs/puppet/pull/2986