conga/luci/site/luci/Extensions RicciQueries.py
CVSROOT: /cvs/cluster
Module name: conga
Branch: RHEL4
Changes by: rmccabe at sourceware.org 2007-08-22 20:37:38
Modified files:
luci/site/luci/Extensions: RicciQueries.py
Log message:
set the nodeid attribute for clusternode tags for rhel4 dlm clusters
luci/site/luci/Extensions/RicciQueries.py +2 -1
@@ -204,9 +204,10 @@ batch.append('<cluster config_version="1" name="%s" alias="%s">' % (cluster_name, cluster_alias)) batch.append('<fence_daemon post_fail_delay="0" post_join_delay="3"/>') batch.append('<clusternodes>') + x = 1 for i in nodeList: - if os_str == 'rhel4': + if gulm_lockservers: batch.append('<clusternode name="%s" votes="1"/>' % i) else: batch.append('<clusternode name="%s" votes="1" nodeid="%d"/>' % (i, x))