diff options
author | mboelen <michael@cisofy.com> | 2014-09-18 13:04:22 +0400 |
---|---|---|
committer | mboelen <michael@cisofy.com> | 2014-09-18 13:04:22 +0400 |
commit | 1915bd884e5aa51f55388d093321b4597b26608c (patch) | |
tree | f59bc0cb2339119edfa2a0176a322f44c0092bcd /include/tests_tooling | |
parent | 5b0944057bcdc50c05335be9665a5247815eeefe (diff) |
Added SaltStack tooling
Diffstat (limited to 'include/tests_tooling')
-rw-r--r-- | include/tests_tooling | 31 |
1 files changed, 27 insertions, 4 deletions
diff --git a/include/tests_tooling b/include/tests_tooling index 4d28b653..4f89f1ad 100644 --- a/include/tests_tooling +++ b/include/tests_tooling @@ -15,14 +15,13 @@ ################################################################################# # AUTOMATION_TOOL_FOUND=0 + AUTOMATION_TOOL_RUNNING="" BACKUP_AGENT_FOUND=0 + PUPPET_MASTER_RUNNING=0 # ################################################################################# # InsertSection "Software: System tooling" - -PUPPET_MASTER_RUNNING=0 - # ################################################################################# # @@ -54,9 +53,29 @@ PUPPET_MASTER_RUNNING=0 if [ ${RUNNING} -eq 1 ]; then logtext "Result: found puppet master" PUPPET_MASTER_RUNNING=1 + report "automation_tool_running[]=puppet" Display --indent 4 --text "Found: Puppet (master)" --result FOUND --color GREEN 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 Display --indent 2 --text "- Automation tooling" --result FOUND --color GREEN else @@ -71,8 +90,12 @@ PUPPET_MASTER_RUNNING=0 # ################################################################################# # + # Netvault + # Rsync in cron +# +################################################################################# +# wait_for_keypress - # #================================================================================ # Lynis - Copyright 2007-2014, Michael Boelen - www.rootkit.nl - The Netherlands |