Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {% set node_type = salt['grains.get']('node_type', '')[0] %}
- {% if node_type %}
- 'node_type:{{ node_type }}':
- - match: grain
- - {{ node_type }}
- {% endif %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement