From 6ff115a3f12670ab724e03dfcf7aecaaf20fd9ac Mon Sep 17 00:00:00 2001 From: Mike Reeves Date: Tue, 27 Mar 2018 14:59:57 -0400 Subject: [PATCH] Setup Script - Add Shard Count --- so-setup-network.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/so-setup-network.sh b/so-setup-network.sh index 5ba277583..1f58429fd 100644 --- a/so-setup-network.sh +++ b/so-setup-network.sh @@ -133,10 +133,6 @@ create_bond() { fi } -#create_socore_password() { - # Enter a password for socore -#} - detect_os() { # Detect Base OS if [ -f /etc/redhat-release ]; then @@ -224,6 +220,8 @@ master_pillar() { echo " nids_rules: $RULESETUP" >> /opt/so/saltstack/pillar/masters/$HOSTNAME.sls echo " oinkcode: $OINKCODE" >> /opt/so/saltstack/pillar/masters/$HOSTNAME.sls +} + node_pillar() { # Create the node pillar touch /tmp/$HOSTNAME.sls @@ -237,10 +235,12 @@ node_pillar() { echo " ls_pipeline_batch_size: $LSPIPELINEBATCH" >> /tmp/$HOSTNAME.sls echo " ls_input_threads: $LSINPUTTHREADS" >> /tmp/$HOSTNAME.sls echo " ls_batch_count: $LSINPUTBATCHCOUNT" >> /tmp/$HOSTNAME.sls + echo " es_shard_count: $SHARDCOUNT" >> /tmp/$HOSTNAME.sls } - -} +#pcap_pin() { +# Array3=(`echo ${Array1[@]} ${Array2[@]} | tr ' ' '\n' | sort | uniq -u` ) +#} saltify() { # Install updates and Salt