Description
This module provides two functions to convert Hash objects to xml strings and vice versa. The usage is described in REFERENCE.md
This module is forked from the https://forge.puppet.com/glarizza/xmlsimple
Setup
This module requires for gem xml-simple
. Install it with following command:
sudo puppetserver gem install xml-simple
Usage
See the reference
Reference
Functions
hash_to_xml
: Function that converts a hash to an XML stringxml_to_hash
: Function to convert an xml file into a hash via xml-simple
Limitations
As far as we know, it should work on any system
Development
Fork this project, develop, make pull request and wait for corresponding auto tests will be done.