mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-11-02 10:38:18 +01:00
Support multiple elastic system users
This commit is contained in:
2 files changed
+47
-7
No files matched your search
@@ -252,6 +252,7 @@ lookup_salt_value() {
|
||||
key=$1
|
||||
group=$2
|
||||
kind=$3
|
||||
output=${4:-newline_values_only}
|
||||
|
||||
if [ -z "$kind" ]; then
|
||||
kind=pillar
|
||||
@@ -261,7 +262,7 @@ lookup_salt_value() {
|
||||
group=${group}:
|
||||
fi
|
||||
|
||||
salt-call --no-color ${kind}.get ${group}${key} --out=newline_values_only
|
||||
salt-call --no-color ${kind}.get ${group}${key} --out=${output}
|
||||
}
|
||||
|
||||
lookup_pillar() {
|
||||
|
||||
Reference in new issue
Block a user