Merge pull request #4782 from Security-Onion-Solutions/feature/check-local-mods

Add jinja raw tag
This commit is contained in:
William Wernert
2021-07-13 08:58:25 -04:00
committed by GitHub

View File

@@ -182,6 +182,8 @@ check_airgap() {
fi fi
} }
# {% raw %}
check_local_mods() { check_local_mods() {
local salt_local=/opt/so/saltstack/local local salt_local=/opt/so/saltstack/local
@@ -209,6 +211,8 @@ check_local_mods() {
fi fi
} }
# {% endraw %}
check_sudoers() { check_sudoers() {
if grep -q "so-setup" /etc/sudoers; then if grep -q "so-setup" /etc/sudoers; then
echo "There is an entry for so-setup in the sudoers file, this can be safely deleted using \"visudo\"." echo "There is an entry for so-setup in the sudoers file, this can be safely deleted using \"visudo\"."