Page MenuHomeDevCentral

Provision servers and credentials list to Zemke-Rhyne
ClosedPublic

Authored by dereckson on Sep 8 2018, 10:31.
Tags
None
Referenced Files
F3717030: D1681.diff
Tue, Nov 5, 23:44
F3716354: D1681.id4289.diff
Tue, Nov 5, 14:47
F3716353: D1681.id4287.diff
Tue, Nov 5, 14:47
F3716352: D1681.id4281.diff
Tue, Nov 5, 14:47
F3716351: D1681.id4280.diff
Tue, Nov 5, 14:46
F3716284: D1681.id.diff
Tue, Nov 5, 14:15
F3716216: D1681.diff
Tue, Nov 5, 13:11
Unknown Object (File)
Sat, Nov 2, 03:44
Subscribers
None

Details

Summary

Ref T1412.

Test Plan

salt-call --local state.apply roles/saltmaster/zemke-rhyne/data

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
Unit
No Test Coverage
Branch
zr-on-salt-master (branched from master)
Build Status
Buildable 2630
Build 2878: arc lint + arc unit

Event Timeline

dereckson created this revision.
dereckson marked 3 inline comments as done.
dereckson added inline comments.
pillar/paas/docker.sls
98
pillar/top.sls
27

Needed to read zr_clients

roles/saltmaster/zemke-rhyne/data.sls
12

Require a new module: zr_clients|json produces a StrictUndefined JSON error, ie Jinja can't parse our list of objects.

This works:

data = __pillar__.get(key, {})
return json.dumps(data, indent=4, sort_keys=True)
This revision is now accepted and ready to land.Sep 8 2018, 10:35

Use key as a string as parameter, instead the variable content

Solve JSON to Python surprise convert issue

This revision was automatically updated to reflect the committed changes.