This commit is contained in:
Ben Grande 2023-11-06 13:32:11 +00:00
parent d4687f6254
commit 453ef99617
No known key found for this signature in database
GPG key ID: 00C64E14F51F9E56
7 changed files with 17 additions and 64 deletions

View file

@ -25,8 +25,8 @@ elif command -v fdfind >/dev/null; then
fi
case "${find_tool}" in
fd|fdfind) files="minion.d/qusal.conf $(${find_tool} . qusal/ --max-depth=1 --type=f --extension=sls --extension=top)";;
find) files="minion.d/qusal.conf $(find qusal/* -maxdepth 1 -type f \( -name '*.sls' -o -name '*.top' \))";;
fd|fdfind) files="minion.d/qusal.conf $(${find_tool} . qusal/ --max-depth=2 --type=f --extension=sls --extension=top)";;
find) files="minion.d/qusal.conf $(find qusal/* -maxdepth 2 -type f \( -name '*.sls' -o -name '*.top' \))";;
esac
salt-lint ${conf} ${files}