Files
securityonion/salt/reactor
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
..
2026-05-05 14:26:04 -04:00
2026-05-04 14:03:14 -04:00
2026-05-04 14:03:14 -04:00
2026-04-27 14:30:41 -04:00