mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Merge pull request #4782 from Security-Onion-Solutions/feature/check-local-mods
Add jinja raw tag
This commit is contained in:
@@ -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\"."
|
||||||
|
|||||||
Reference in New Issue
Block a user