mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-06-09 03:45:21 +02:00
Fix soup state.apply args for postgres provisioning
state.apply takes a single mods argument; space-separated names are not a list, so `state.apply postgres.auth postgres.telegraf_users` was only applying postgres.auth and silently dropping the telegraf_users state. Use comma-separated mods and add queue=True to match the rest of soup.
This commit is contained in:
@@ -496,7 +496,7 @@ post_to_3.1.0() {
|
||||
# container. Then push a telegraf state to every minion so their telegraf.conf
|
||||
# picks up the new credentials on the first apply after soup.
|
||||
echo "Provisioning Telegraf Postgres users for existing minions."
|
||||
salt-call --local state.apply postgres.auth postgres.telegraf_users || true
|
||||
salt-call --local state.apply postgres.auth,postgres.telegraf_users queue=True || true
|
||||
|
||||
POSTVERSION=3.1.0
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user