Advertisement
Guest User

Untitled

a guest
Nov 13th, 2013
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #top.sls:
  2.  
  3. base:
  4. '*':
  5. - saltminion01_pillar
  6. 'minion01':
  7. - pillarfile01
  8. 'minion02':
  9. - pillarfile02
  10.  
  11.  
  12. ============= OR =====================
  13.  
  14. base:
  15. '*':
  16. - pillarFileForAllMinions
  17.  
  18.  
  19. # pillarFileForAllMinions.sls:
  20.  
  21. {% if grains['id'] == 'minion01' %}
  22. k1: value2
  23. {% endif %}
  24. {% if grains['id'] == 'minion02' %}
  25. k1: value2
  26. {% endif %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement