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)
Sun, Dec 22, 05:19
Unknown Object (File)
Wed, Dec 18, 08:31
Unknown Object (File)
Wed, Dec 18, 08:31
Unknown Object (File)
Wed, Dec 18, 07:35
Unknown Object (File)
Wed, Dec 18, 07:13
Unknown Object (File)
Tue, Dec 17, 09:13
Unknown Object (File)
Sun, Dec 15, 05:20
Unknown Object (File)
Fri, Dec 13, 09:42
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.