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)
Mon, Jan 27, 14:20
Unknown Object (File)
Sun, Jan 26, 03:41
Unknown Object (File)
Sat, Jan 25, 05:26
Unknown Object (File)
Thu, Jan 23, 02:28
Unknown Object (File)
Thu, Jan 23, 01:53
Unknown Object (File)
Thu, Jan 23, 01:53
Unknown Object (File)
Thu, Jan 23, 01:53
Unknown Object (File)
Thu, Jan 23, 00:22
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.