Continuation of issue #11868: target by state ID #67504
Mrten
started this conversation in
Feature Requests
Replies: 2 comments
-
There's lots of input from other folks on the referred issue. |
Beta Was this translation helpful? Give feedback.
0 replies
-
@Mrten One of the reason for closing out old issues, circa 10 years ago, was to use the new template with issues etc. stating, bug, feature request, etc. which allows for better tracking etc. Can you please update this accordingly,since this is a Feature Request, if you want the issue to be considered. Noting you had Feature Request on the old issue from 2014. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
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.
Beta Was this translation helpful? Give feedback.
All reactions