HomeDevCentral

Output the salt states for a specific server

Description

Output the salt states for a specific server

Summary:
Call state.show_sls and state.show_top to provie a JSON document
with the list of states for the current machine.

The new make target allows to publish it in a canonical URL
/datasources/infra/all-states.json.

Test Plan:
https://windriver.nasqueron.org/datasources/infra/all-states.json

Ref T1691

Reviewers: dereckson

Reviewed By: dereckson

Maniphest Tasks: T1691

Differential Revision: https://devcentral.nasqueron.org/D2555

Details

Provenance
derecksonAuthored on Feb 26 2022, 22:25
derecksonPushed on Feb 26 2022, 22:52
Reviewer
dereckson
Differential Revision
D2555: Output the salt states for a specific server
Parents
rOPS713acf2327e6: Follow make code conventions
Branches
Unknown
Tags
Unknown
Tasks
T1691: Allow to inspect Salt configuration