[fix] Variable renames

This commit is contained in:
William Wernert
2020-04-17 21:06:06 -04:00
parent b27efec2ef
commit ae9a7a4b55

View File

@@ -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"\