mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Fix pillar syntax
This commit is contained in:
@@ -1200,13 +1200,14 @@ manager_global() {
|
|||||||
" features: False"\
|
" features: False"\
|
||||||
"elasticsearch:"\
|
"elasticsearch:"\
|
||||||
" replicas: 0"\
|
" replicas: 0"\
|
||||||
if [[ -z "$ESCLUSTERNAME" ]]; then
|
if [ -n "$ESCLUSTERNAME" ]; then
|
||||||
printf " true_cluster: False"
|
printf " true_cluster: True"\
|
||||||
" true_cluster_name: 'so'"
|
" true_cluster_name: '$ESCLUSTERNAME'"\
|
||||||
else
|
else
|
||||||
printf " true_cluster: True"
|
printf " true_cluster: False"\
|
||||||
" true_cluster_name: '$ESCLUSTERNAME'"
|
" true_cluster_name: 'so'"\
|
||||||
fi
|
fi
|
||||||
|
|
||||||
" discovery_nodes: 1"\
|
" discovery_nodes: 1"\
|
||||||
" hot_warm_enabled: False"\
|
" hot_warm_enabled: False"\
|
||||||
" cluster_routing_allocation_disk.threshold_enabled: true"\
|
" cluster_routing_allocation_disk.threshold_enabled: true"\
|
||||||
|
|||||||
Reference in New Issue
Block a user