Browse Source

CTS: set the syslog restart commands up correctly

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
Angus Salkeld 14 years ago
parent
commit
4f99bef8b6
1 changed files with 3 additions and 2 deletions
  1. 3 2
      cts/corolab.py

+ 3 - 2
cts/corolab.py

@@ -115,8 +115,9 @@ class CoroLabEnvironment(CtsLab):
         self["warn-inactive"] = 0
         self["ListTests"] = 0
         self["benchmark"] = 0
-        self["logrestartcmd"] = "/etc/init.d/rsyslog restart 2>&1 > /dev/null"
-        self["Schema"] = "corosync 1.2"
+        self["logrestartcmd"] = "systemctl restart rsyslog.service 2>&1 > /dev/null"
+        self["syslogd"] ="rsyslog"
+        self["Schema"] = "corosync 2.0"
         self["Stack"] = "corosync (needle)"
         self['CMclass'] = corosync_needle
         self["stonith-type"] = "external/ssh"