Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Pillar #1:
- xyz:
- abc:
- - name: Item #1
- key1: value1
- key2: value2
- Pillar #2:
- xyz:
- abc:
- - name: Item #2
- key1: value4
- key2: value9
- Pillar top.sls:
- base:
- 'ec2_tags:service:applicaion1'
- - match: grain
- - pillar1
- 'ec2_tags:support_services:applicaion2'
- - match: grain
- - pillar2
- On Target Instance with both tags:
- salt-call pillar.get xyz
- xyz:
- abc:
- - name: Item #1
- key1: value1
- key2: value2
- - name: Item #2
- key1: value4
- key2: value9
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement