From ae9a7a4b552c6fe14cb5bd50afc2c437379649e5 Mon Sep 17 00:00:00 2001 From: William Wernert Date: Fri, 17 Apr 2020 21:06:06 -0400 Subject: [PATCH] [fix] Variable renames --- setup/so-functions | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/setup/so-functions b/setup/so-functions index ea0a7cee7..3f49fac2d 100755 --- a/setup/so-functions +++ b/setup/so-functions @@ -731,6 +731,7 @@ master_pillar() { printf '%s\n'\ "master:"\ " mainip: $MAINIP"\ + " mainint: $MNIC"\ " esheap: $ES_HEAP_SIZE"\ " esclustername: {{ grains.host }}"\ " freq: 0"\ @@ -1181,8 +1182,8 @@ sensor_pillar() { " master: $MSRV"\ " mtu: $MTU"\ " uniqueid: $(date '+%s')" >> "$pillar_file" - if [ "$home_network_sensor" != 'inherit' ]; then - echo " home_network_sensor: $home_network_sensor" >> "$pillar_file" + if [ "$HNSENSOR" != 'inherit' ]; then + echo " hnsensor: $HNSENSOR" >> "$pillar_file" fi printf '%s\n'\ " access_key: $ACCESS_KEY"\