This is a simple module that provides a hash2json
function. It takes a Puppet hash as an input and returns JSON.
This is useful if you have an application that is configured by a JSON file. You can now store the configuration in Hiera and easily apply it to the application.