Merge branch 'dev' into feature/logscan

This commit is contained in:
William Wernert
2021-07-13 10:02:58 -04:00

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\"."