mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-25 23:05:01 +02:00
Added SaltStack tooling
This commit is contained in:
parent
5b0944057b
commit
1915bd884e
@ -15,14 +15,13 @@
|
|||||||
#################################################################################
|
#################################################################################
|
||||||
#
|
#
|
||||||
AUTOMATION_TOOL_FOUND=0
|
AUTOMATION_TOOL_FOUND=0
|
||||||
|
AUTOMATION_TOOL_RUNNING=""
|
||||||
BACKUP_AGENT_FOUND=0
|
BACKUP_AGENT_FOUND=0
|
||||||
|
PUPPET_MASTER_RUNNING=0
|
||||||
#
|
#
|
||||||
#################################################################################
|
#################################################################################
|
||||||
#
|
#
|
||||||
InsertSection "Software: System tooling"
|
InsertSection "Software: System tooling"
|
||||||
|
|
||||||
PUPPET_MASTER_RUNNING=0
|
|
||||||
|
|
||||||
#
|
#
|
||||||
#################################################################################
|
#################################################################################
|
||||||
#
|
#
|
||||||
@ -54,9 +53,29 @@ PUPPET_MASTER_RUNNING=0
|
|||||||
if [ ${RUNNING} -eq 1 ]; then
|
if [ ${RUNNING} -eq 1 ]; then
|
||||||
logtext "Result: found puppet master"
|
logtext "Result: found puppet master"
|
||||||
PUPPET_MASTER_RUNNING=1
|
PUPPET_MASTER_RUNNING=1
|
||||||
|
report "automation_tool_running[]=puppet"
|
||||||
Display --indent 4 --text "Found: Puppet (master)" --result FOUND --color GREEN
|
Display --indent 4 --text "Found: Puppet (master)" --result FOUND --color GREEN
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# SaltStack
|
||||||
|
if [ ! "${SALTMINIONBINARY}" = "" ]; then
|
||||||
|
logtext "Result: SaltStack (salt-minion) is installed (${SALTMINIONBINARY})"
|
||||||
|
AUTOMATION_TOOL_FOUND=1
|
||||||
|
Display --indent 4 --text "Found: SaltStack minion (salt-minion)" --result FOUND --color GREEN
|
||||||
|
fi
|
||||||
|
if [ ! "${SALTMASTERBINARY}" = "" ]; then
|
||||||
|
logtext "Result: SaltStack (salt-master) is installed (${SALTMASTERBINARY})"
|
||||||
|
AUTOMATION_TOOL_FOUND=1
|
||||||
|
Display --indent 4 --text "Found: SaltStack master (salt-master)" --result FOUND --color GREEN
|
||||||
|
fi
|
||||||
|
IsRunning "salt-master"
|
||||||
|
if [ ${RUNNING} -eq 1 ]; then
|
||||||
|
logtext "Result: found SaltStack (master)"
|
||||||
|
SALT_MASTER_RUNNING=1
|
||||||
|
report "automation_tool_running[]=saltstack-master"
|
||||||
|
Display --indent 4 --text "Found: SaltStack (master)" --result FOUND --color GREEN
|
||||||
|
fi
|
||||||
|
|
||||||
if [ ${AUTOMATION_TOOL_FOUND} -eq 1 ]; then
|
if [ ${AUTOMATION_TOOL_FOUND} -eq 1 ]; then
|
||||||
Display --indent 2 --text "- Automation tooling" --result FOUND --color GREEN
|
Display --indent 2 --text "- Automation tooling" --result FOUND --color GREEN
|
||||||
else
|
else
|
||||||
@ -70,9 +89,13 @@ PUPPET_MASTER_RUNNING=0
|
|||||||
# Backup tools
|
# Backup tools
|
||||||
#
|
#
|
||||||
#################################################################################
|
#################################################################################
|
||||||
|
#
|
||||||
|
# Netvault
|
||||||
|
# Rsync in cron
|
||||||
|
#
|
||||||
|
#################################################################################
|
||||||
#
|
#
|
||||||
wait_for_keypress
|
wait_for_keypress
|
||||||
|
|
||||||
#
|
#
|
||||||
#================================================================================
|
#================================================================================
|
||||||
# Lynis - Copyright 2007-2014, Michael Boelen - www.rootkit.nl - The Netherlands
|
# Lynis - Copyright 2007-2014, Michael Boelen - www.rootkit.nl - The Netherlands
|
||||||
|
Loading…
x
Reference in New Issue
Block a user