Continuation of issue #11868: target by state ID #65292
Labels
Feature
new functionality including changes to functionality and code refactors, etc.
info-needed
waiting for more info
needs-triage
I'd like to target highstate runs by state. This way I could, say, restart all apaches at the same time and be sure that I haven't missed any.
Like this:
salt -S apache state.highstate
Explanation: I write my states for, say, apache, with one basic state that sets everything that I want the same for all apaches (like the LogFormat, the mimesettings, etc) and include: that basic state from every other apache that gets deployed, however different its usecase may be.
When one is then confronted with something like the Heartbleed OpenSSL bug one would like to upgrade/restart all those apaches in one go.
I could work around this with pillar values but that feels like a kludge to me.
Workarounds with jq exist, see here.
The text was updated successfully, but these errors were encountered: