summaryrefslogtreecommitdiffstats
path: root/config/utils
diff options
context:
space:
mode:
authorAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-01-12 22:27:26 +0100
committerAlexandru Avadanii <Alexandru.Avadanii@enea.com>2018-01-14 17:55:56 +0100
commit90e2b5ea413edb1f12d0f6fbcc58e7c68b2aaa57 (patch)
treee9384b4aa91eb99f69e61e232c97995bcdc046a4 /config/utils
parentd42a2fc9b70da0aa11a2b3fb1ca1948bfdb9f6b3 (diff)
[PDF] check-jinja: Disable check against template
config/pdf/pod1*yaml files are not valid PDFs, but only templates. Trying to expand said files against installer adapters would lead to funky results, since most fields are expressed as '{val1|val2}' in the template files. Change-Id: Ieec4d596d0b5246aa506239183a31463951403e7 Signed-off-by: Alexandru Avadanii <Alexandru.Avadanii@enea.com>
Diffstat (limited to 'config/utils')
-rwxr-xr-xconfig/utils/check-jinja2.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/utils/check-jinja2.sh b/config/utils/check-jinja2.sh
index 8a966e52..f23d389c 100755
--- a/config/utils/check-jinja2.sh
+++ b/config/utils/check-jinja2.sh
@@ -52,7 +52,7 @@ while IFS= read -r lab_config; do
done < <(find "${adapter}" -name '*.j2')
SUMMARY+="${pdf_yaml_pass}/${pdf_inst_pass}/${pdf_inst};"
done
-done < <(find 'config' 'labs' -name 'pod*.yaml')
+done < <(find 'labs' -name 'pod*.yaml')
rm -f "${TMPF}"
echo -e '\n\nNOTE: tuple fmt: (valid YAML output/sucessful parse/templates).\n'