Created
September 28, 2015 20:19
-
-
Save anonymous/f1925de87897b07e254c to your computer and use it in GitHub Desktop.
inline for dynamic lookups
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{%- set team = salt['grains.get']('team') %} | |
{%- set client = salt['grains.get']('client') %} | |
{%- set ports = salt['pillar.get']('ports:lookup:' ~ team ~ '-' ~ client ~'') %} | |
{{ ports }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment