Adding minor webapps to WebServer tracking

This commit is contained in:
2024-01-12 13:06:58 -06:00
parent 221ce69a80
commit cd3210c5fb
7 changed files with 82 additions and 3 deletions

View File

@@ -0,0 +1,9 @@
#!/bin/bash
# Webserver apps directory should be short -- apps that fail this category should become their own.
for file in `find roles/WebServer/files/apps -type f`; do
if [[ $(wc -l "$file" | awk '{ print $1; }') -gt 10 ]]; then
echo "$file" is too long to be deployed as a mini-app under the WebServer role.
fi
done