From fb3cdfd45ed2ac4d69f185efae956c34a98d7402 Mon Sep 17 00:00:00 2001 From: Georg Pfuetzenreuter Date: Jun 03 2023 20:19:50 +0000 Subject: Drop unused grains from test_nginx virt_cluster and virtual are not needed for these tests and cause NoneType issues. Signed-off-by: Georg Pfuetzenreuter --- diff --git a/bin/test_nginx.sh b/bin/test_nginx.sh index 681cd35..b882b3f 100755 --- a/bin/test_nginx.sh +++ b/bin/test_nginx.sh @@ -10,6 +10,7 @@ rpm -q nginx salt salt-master IDFILE="pillar/id/$(hostname).sls" IDFILE_BASE="$IDFILE.base.sls" +sed -i -e '/virtual/d' -e '/virt_cluster/d' /etc/salt/grains cp "$IDFILE" "$IDFILE_BASE" reset_nginx() {