Puppet ressource to easy write yaml file from hash