You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My setup contains a global pillar that applies on * and a per-role one applied via role*.domain.tld.
In my global role there is a reference to a file containing master hostnames:
This would be a bit hairy to implement as pillar data is essentially merged together and then rendered as a whole. I'm not even 100% sure if this could be done.
I see where you are coming from, but I am not sure this is going to be possible given the current setup, since pillar data is not read in a linear fashion, and there is not requisite construct. I will move this to 2.0.0 and think about how it can be done.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
If this issue is closed prematurely, please leave a comment and we will gladly reopen the issue.
My setup contains a global pillar that applies on
*
and a per-role one applied viarole*.domain.tld
.In my global role there is a reference to a file containing master hostnames:
In the role-applied set (e.g. DNS servers) I want to be able to reference back to there.
So if the masterfile contains:
I'd like to be able to do this in the lower applied pillars:
This allows for greater flexibility, otherwise I'd have to hardcode the master_server parameter in the localvars which I'm trying to avoid.
The text was updated successfully, but these errors were encountered: