Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/innogames/puppet-xmlsimple
The puppet module provides two functions to convert Hash objects to xml strings and vice versa
https://github.com/innogames/puppet-xmlsimple
puppet-module xml-parsing xml-processing xml-serialization
Last synced: about 1 month ago
JSON representation
The puppet module provides two functions to convert Hash objects to xml strings and vice versa
- Host: GitHub
- URL: https://github.com/innogames/puppet-xmlsimple
- Owner: innogames
- License: apache-2.0
- Created: 2018-12-14T09:26:37.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2023-04-09T22:10:33.000Z (over 1 year ago)
- Last Synced: 2024-10-17T03:50:56.704Z (3 months ago)
- Topics: puppet-module, xml-parsing, xml-processing, xml-serialization
- Language: Ruby
- Homepage: https://forge.puppet.com/innogames/xmlsimple
- Size: 87.9 KB
- Stars: 0
- Watchers: 17
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[![Build Status](https://travis-ci.org/innogames/puppet-xmlsimple.svg?branch=master)](https://travis-ci.org/innogames/puppet-xmlsimple)
# DescriptionThis module provides two functions to convert Hash objects to xml strings and
vice versa. The usage is described in [REFERENCE.md](./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.md#functions)# Reference
**Functions**
* [`hash_to_xml`](./REFERENCE.md#hash_to_xml): Function that converts a hash to an XML string
* [`xml_to_hash`](./REFERENCE.md#xml_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.