From 1b8bb8e761668ce0a026f6902b84bd31c467be1c Mon Sep 17 00:00:00 2001 From: m0duspwnens Date: Fri, 20 Dec 2019 16:02:20 -0500 Subject: [PATCH] fix writing to PILLARFILE --- setup/functions.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/setup/functions.sh b/setup/functions.sh index 474f26863..b102b531d 100644 --- a/setup/functions.sh +++ b/setup/functions.sh @@ -601,7 +601,7 @@ master_pillar() { PILLARFILE=$TMP/pillar/minions/$MINION_ID.sls # Create the master pillar - echo "master:" > $PILLARFILE + echo "master:" >> $PILLARFILE echo " mainip: $MAINIP" >> $PILLARFILE echo " mainint: $MAININT" >> $PILLARFILE echo " esheap: $ES_HEAP_SIZE" >> $PILLARFILE @@ -704,7 +704,7 @@ node_pillar() { PILLARFILE=$TMP/pillar/minions/$MINION_ID.sls # Create the node pillar - echo "node:" > $PILLARFILE + echo "node:" >> $PILLARFILE echo " mainip: $MAINIP" >> $PILLARFILE echo " mainint: $MAININT" >> $PILLARFILE echo " esheap: $NODE_ES_HEAP_SIZE" >> $PILLARFILE @@ -1102,7 +1102,7 @@ sensor_pillar() { # Create the sensor pillar touch $PILLARFILE - echo "sensor:" > $PILLARFILE + echo "sensor:" >> $PILLARFILE echo " interface: bond0" >> $PILLARFILE echo " mainip: $MAINIP" >> $PILLARFILE echo " mainint: $MAININT" >> $PILLARFILE