Skip to contentSkip to conversation

conga/luci/site/luci/Extensions cluster_adapte ...

Cluster-devel [email protected] 1 participant 1 message Jan 31, 2007

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: conga
Changes by: rmccabe at sourceware.org 2007-01-31 23:45:09

Modified files:
luci/site/luci/Extensions: cluster_adapters.py

Log message:
show lock_gulmd config properties in the daemon info area for nodes in a GULM cluster

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/cluster_adapters.py.diff?cvsroot=cluster&r1=1.222&r2=1.223

luci/site/luci/Extensions/cluster_adapters.py +4 -1
@@ -4252,7 +4252,10 @@
     if rc is not None:
       dlist = list()
       dlist.append("ccsd")
-      dlist.append("cman")
+      if model.getGULMPtr() is None:
+        dlist.append("cman")
+      else:
+        dlist.append("lock_gulmd")
       dlist.append("fenced")
       dlist.append("rgmanager")
       states = getDaemonStates(rc, dlist)