Page MenuHomeDevCentral

Fetch node configuration through node custom module
ClosedPublic

Authored by dereckson on Mon, Feb 9, 21:21.
Tags
None
Referenced Files
F24594696: D3938.id10223.diff
Sat, Feb 28, 22:41
F24593990: D3938.diff
Sat, Feb 28, 21:50
F24591054: D3938.id10203.diff
Sat, Feb 28, 18:35
F24590996: D3938.diff
Sat, Feb 28, 18:34
F24590414: D3938.id10223.diff
Sat, Feb 28, 18:10
F24589652: D3938.id10203.diff
Sat, Feb 28, 17:22
F24589162: D3938.id10203.diff
Sat, Feb 28, 16:54
F24587742: D3938.id10203.diff
Sat, Feb 28, 15:19
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 Not Applicable
Unit
Tests Not Applicable

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