Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormboelen <michael@cisofy.com>2014-12-05 14:41:33 +0300
committermboelen <michael@cisofy.com>2014-12-05 14:41:33 +0300
commita70e0558c8eac5e2d8d98eda8993d50955113d37 (patch)
treedc01b909fdb84fec4007c43765373f3df91c4bbe /include/tests_tooling
parentf0ae9d015cdca2dc1f0ff2f37c74815ee0dadd28 (diff)
Log status of Salt tools and add them to report
Diffstat (limited to 'include/tests_tooling')
-rw-r--r--include/tests_tooling10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/tests_tooling b/include/tests_tooling
index 4f89f1ad..158f4d49 100644
--- a/include/tests_tooling
+++ b/include/tests_tooling
@@ -18,6 +18,8 @@
AUTOMATION_TOOL_RUNNING=""
BACKUP_AGENT_FOUND=0
PUPPET_MASTER_RUNNING=0
+ SALT_MASTER_RUNNING=0
+ SALT_MINION_RUNNING=0
#
#################################################################################
#
@@ -61,6 +63,7 @@
if [ ! "${SALTMINIONBINARY}" = "" ]; then
logtext "Result: SaltStack (salt-minion) is installed (${SALTMINIONBINARY})"
AUTOMATION_TOOL_FOUND=1
+ SALT_MINION_RUNNING=1
Display --indent 4 --text "Found: SaltStack minion (salt-minion)" --result FOUND --color GREEN
fi
if [ ! "${SALTMASTERBINARY}" = "" ]; then
@@ -95,7 +98,12 @@
#
#################################################################################
#
+ report "puppet_master=${PUPPET_MASTER_RUNNING}"
+ report "salt_master=${SALT_MASTER_RUNNING}"
+ report "salt_minion=${SALT_MINION_RUNNING}"
+
+
wait_for_keypress
#
#================================================================================
-# Lynis - Copyright 2007-2014, Michael Boelen - www.rootkit.nl - The Netherlands
+# Lynis - Copyright 2007-2014, Michael Boelen, CISOfy - https://cisofy.com