Advertisement
Guest User

Untitled

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