unman
7
Tedious indeed - try:
qubesctl --targets A state.apply STATE_A
qubesctl --targets B state.apply STATE_B
If you are deploying multiple states then templating is the way to go.
If you are offering a series of states for choice, not so much.
Combined -
multi-files:
file.managed:
- user: root
- names:
- /etc/one:
- source: salt://1
- /etc/two:
- source: salt://2
- /etc/three:
- source: salt://3
- order: 1
multi-links:
file.symlink:
- names:
- /rw/config/one:
- target: /etc/one
- /rw/config/two:
- target: /etc/two
- /rw/config/three:
- target: /etc/three
- order: 2
Note use of - names: and - order: