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, Nov 14, 22:40
Unknown Object (File)
Thu, Nov 14, 20:40
Unknown Object (File)
Tue, Nov 12, 08:12
Unknown Object (File)
Tue, Nov 12, 05:23
Unknown Object (File)
Tue, Nov 12, 04:59
Unknown Object (File)
Tue, Nov 12, 04:14
Unknown Object (File)
Tue, Nov 12, 02:50
Unknown Object (File)
Tue, Nov 12, 01:16
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.