Page MenuHomeDevCentral

Fetch node configuration through node custom module
ClosedPublic

Authored by dereckson on Mon, Feb 9, 21:21.
Tags
None
Referenced Files
F24564870: D3938.id10223.diff
Fri, Feb 27, 13:11
F24557636: D3938.id10203.diff
Fri, Feb 27, 04:09
F24555236: D3938.id10223.diff
Fri, Feb 27, 01:09
Unknown Object (File)
Thu, Feb 26, 05:16
Unknown Object (File)
Wed, Feb 25, 09:49
Unknown Object (File)
Tue, Feb 24, 22:38
Unknown Object (File)
Mon, Feb 23, 18:30
Unknown Object (File)
Sat, Feb 21, 18:37
Subscribers
None

Details

Summary

Grains are only defined in the salt unit,
ie after it's needed first in network.

Instead, we can fetch information directly from pillar.

This fixes the following issue:
Rendering SLS 'base:roles/core.network.gre' failed:
Jinja variable ... has no attribute 'roles' ; line 11

This is a follow-up for 050d063bbefe.

Test Plan

Deploy roles/core on router-002

Diff Detail

Repository
rOPS Nasqueron Operations
Lint
Lint Passed
Unit
No Test Coverage
Branch
gre-find-role
Build Status
Buildable 6286
Build 6570: arc lint + arc unit

Event Timeline

dereckson created this revision.
dereckson edited the summary of this revision. (Show Details)
dereckson edited the test plan for this revision. (Show Details)
This revision is now accepted and ready to land.Wed, Feb 11, 09:06