Page MenuHomeDevCentral

Provide Salt module to convert data
ClosedPublic

Authored by dereckson on Sep 8 2018, 16:51.
Tags
None
Referenced Files
Unknown Object (File)
Thu, Jul 24, 04:46
Unknown Object (File)
Sun, Jul 13, 15:13
Unknown Object (File)
Thu, Jul 10, 17:40
Unknown Object (File)
Thu, Jul 10, 00:02
Unknown Object (File)
Thu, Jul 3, 18:12
Unknown Object (File)
Mon, Jun 30, 13:36
Unknown Object (File)
Mon, Jun 30, 13:07
Unknown Object (File)
Sun, Jun 29, 02:27
Subscribers
None

Details

Summary

salt['convert.to_json_from_pillar_key']('foo') returrns a JSON
representation of the pillar key foo.

The goal is to allow to configure a software in YAML, but to output
the configuration as a JSON file, format more suitable for data
interchange.

Test Plan

Tested with D1681.

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

dereckson created this revision.
This revision is now accepted and ready to land.Sep 8 2018, 16:52
This revision was automatically updated to reflect the committed changes.