move endgamehost

This commit is contained in:
Mike Reeves
2022-09-08 13:55:35 -04:00
parent 3785b97d95
commit 9c9509594a
2 changed files with 2 additions and 10 deletions

View File

@@ -1455,15 +1455,6 @@ idstools_pillar() {
soc_pillar() {
touch $adv_soc_pillar_file
printf '%s\n'\
"soc:"\
" es_index_patterns: '*:so-*,*:endgame-*'"\
"" > "$soc_pillar_file"
if [[ -n $ENDGAMEHOST ]]; then
printf '%s\n'\
" endgamehost: '$ENDGAMEHOST'"\
"" >> "$soc_pillar_file"
fi
}
manager_pillar() {
@@ -1530,6 +1521,7 @@ create_global() {
echo " pipeline: 'redis'" >> $global_pillar_file
echo " repo_host: '$MAINIP'" >> $global_pillar_file
echo " registry_host: '$MAINIP'" >> $global_pillar_file
echo " endgamehost: '$ENDGAMEHOST'" >> $global_pillar_file
}
create_sensoroni_pillar() {