From bd4f499604570617dc41318b59521490b0b54027 Mon Sep 17 00:00:00 2001 From: Olav Reinert Date: Apr 17 2021 11:36:49 +0000 Subject: Allow README.md files everywhere in the salt tree. --- diff --git a/bin/test_extension.sh b/bin/test_extension.sh index af0f01d..1c5ac34 100755 --- a/bin/test_extension.sh +++ b/bin/test_extension.sh @@ -1,7 +1,7 @@ #!/bin/bash NON_SLS_PILLAR=$(find pillar -type f | egrep -v "(macros.jinja|(FORMULAS|valid_custom_grains)\.yaml|\.sls)$|/README\.md$") -NON_SLS_SALT=$(find salt -type f | egrep -v "/(files|templates)/|(pillar\.example|\.sls)$") +NON_SLS_SALT=$(find salt -type f | egrep -v "/(files|templates)/|(pillar\.example|\.sls|/README\.md)$") NON_SLS=( ${NON_SLS_PILLAR} ${NON_SLS_SALT} ) if [[ -n $NON_SLS ]]; then