Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #top.sls:
- base:
- 'minion01':
- - pillarfile01
- 'minion02':
- - pillarfile02
- ============= OR =====================
- base:
- '*':
- - pillarFileForAllMinions
- # pillarFileForAllMinions.sls:
- {% if grains['id'] == 'minion01' %}
- k1: value2
- {% endif %}
- {% if grains['id'] == 'minion02' %}
- k1: value2
- {% endif %}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement