Files
securityonion/salt
Josh Patterson cc970892ed FIX: keep the app's target when pushing a per-node setting
For a setting saved for a single node, push_pillar replaced the app's
target from pillar_push_map.yaml with the node id. The app's state was
then applied to that node even if the node does not run the app.

Seen in the lab: the SOC config test saves
elasticsearch.config.cluster.routing.allocation.disk.threshold_enabled
for the first node SOC lists, and SOC lists nodes in random order. When
that node was a sensor, the elasticsearch state was applied to it and
failed to render (so_roles has no so-sensor entry), and so-push-drainer
logged "push failed".

Narrow the app's target to the node instead of replacing it:
"L@<node> and ( <app target> )". A node outside the app's target then
matches nothing, and so-push-drainer skips the action.
2026-11-11 10:07:08 -05:00
..
2025-12-02 11:16:08 -06:00
…
2024-07-09 10:06:16 -04:00
2026-10-05 17:43:08 -04:00
2026-03-19 14:39:10 -04:00
2026-10-02 12:03:04 -04:00
2026-01-07 14:14:57 -05:00
2025-10-14 11:03:00 -04:00
2025-08-04 15:25:26 -04:00