HomeDevCentral

Fetch node configuration through node custom module

Description

Fetch node configuration through node custom module

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

Reviewers: yousra, Duranzed

Reviewed By: Duranzed

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

Details

Provenance
derecksonAuthored on Wed, Feb 11, 13:30
yousraCommitted on Wed, Feb 11, 13:35
yousraPushed on Wed, Feb 11, 13:36
Reviewer
Duranzed
Differential Revision
D3938: Fetch node configuration through node custom module
Parents
rOPS8202a28af610: Assign ViperServ IPv6 to WindRiver
Branches
Unknown
Tags
Unknown