summaryrefslogtreecommitdiffstats
path: root/baro_tests/config_server.py
diff options
context:
space:
mode:
Diffstat (limited to 'baro_tests/config_server.py')
-rw-r--r--baro_tests/config_server.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/baro_tests/config_server.py b/baro_tests/config_server.py
index d9c83ce8..f156fcf7 100644
--- a/baro_tests/config_server.py
+++ b/baro_tests/config_server.py
@@ -292,8 +292,11 @@ class ConfigServer(object):
for node in nodes:
if compute_name == node.get_dict()['name']:
stdout = node.run_cmd(
- 'yum list installed | grep {}'.format(package))
- return len(stdout) > 0
+ 'yum list installed | grep mcelog')
+ if 'mcelog' in stdout:
+ return 1
+ else:
+ return 0
def is_libpqos_on_node(self, compute):
"""Check whether libpqos is present on compute node"""