How to make a salt state on target A require a state on target B?

A post was split to a new topic: Salt menu stuff