Page MenuHomeDevCentral

Provide Salt module to convert data
ClosedPublic

Authored by dereckson on Sep 8 2018, 16:51.
Tags
None
Referenced Files
F33782175: D1684.diff
Sun, Jun 21, 08:06
Unknown Object (File)
Sat, Jun 20, 08:48
Unknown Object (File)
Thu, Jun 18, 08:11
Unknown Object (File)
Tue, Jun 16, 13:22
Unknown Object (File)
Mon, Jun 15, 16:03
Unknown Object (File)
Sun, Jun 14, 16:20
Unknown Object (File)
Sun, Jun 14, 14:00
Unknown Object (File)
Sun, Jun 14, 05:26
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.