Advertisement
Guest User

Untitled

a guest
May 30th, 2014
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. {% set node_type = salt['grains.get']('node_type', '')[0] %}
  2.  
  3. {% if node_type %}
  4. 'node_type:{{ node_type }}':
  5. - match: grain
  6. - {{ node_type }}
  7. {% endif %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement