summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xconfig/utils/check-jinja2.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/utils/check-jinja2.sh b/config/utils/check-jinja2.sh
index f23d389c..c33bef50 100755
--- a/config/utils/check-jinja2.sh
+++ b/config/utils/check-jinja2.sh
@@ -43,7 +43,9 @@ while IFS= read -r lab_config; do
echo 'Result: PASS'
((pdf_inst_pass+=1))
echo -e "\nyamllint -s ${jinja_template%.j2}"
- if yamllint -s "${TMPF}"; then ((pdf_yaml_pass+=1)); fi
+ if yamllint -s <(sed 's|ENC\[PKCS.*\]|opnfv|g' "${TMPF}"); then
+ ((pdf_yaml_pass+=1));
+ fi
else
echo 'Result: FAIL'
RC=1