mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
make influxdb token accessible to all nodes
This commit is contained in:
@@ -899,6 +899,7 @@ create_manager_pillars() {
|
||||
kratos_pillar
|
||||
soc_pillar
|
||||
idh_pillar
|
||||
influxdb_pillar
|
||||
|
||||
}
|
||||
|
||||
@@ -1538,6 +1539,9 @@ influxdb_pillar() {
|
||||
title "Create the influxdb pillar file"
|
||||
touch $adv_influxdb_pillar_file
|
||||
touch $influxdb_pillar_file
|
||||
printf '%s\n'\
|
||||
"influxdb:"\
|
||||
" token: $INFLUXTOKEN" > $local_salt_dir/pillar/influxdb/token.sls
|
||||
}
|
||||
|
||||
make_some_dirs() {
|
||||
@@ -2066,8 +2070,7 @@ secrets_pillar(){
|
||||
" playbook_admin: $PLAYBOOKADMINPASS"\
|
||||
" playbook_automation: $PLAYBOOKAUTOMATIONPASS"\
|
||||
" playbook_automation_api_key: "\
|
||||
" influx_pass: $INFLUXPASS"\
|
||||
" influx_token: $INFLUXTOKEN" > $local_salt_dir/pillar/secrets.sls
|
||||
" influx_pass: $INFLUXPASS" > $local_salt_dir/pillar/secrets.sls
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user