conga/luci/site/luci/Extensions ricci_bridge.py
CVSROOT: /cvs/cluster
Module name: conga
Changes by: rmccabe at sourceware.org 2006-10-12 22:41:27
Modified files:
luci/site/luci/Extensions: ricci_bridge.py
Log message:
nodeid must be > 0
luci/site/luci/Extensions/ricci_bridge.py +2 -2
@@ -778,11 +778,11 @@ batch += '<function_call name="set_cluster.conf">' batch += '<var mutable="false" name="propagate" type="boolean" value="false"/>' batch += '<var mutable="false" name="cluster.conf" type="xml">' - batch += '<cluster config_version="1" name="' + cluster_name + '" alias="' + cluster_alias + '" cluster_version="' + cluster_version + '">' + batch += '<cluster config_version="1" name="' + cluster_name + '" alias="' + cluster_alias + '">' batch += '<fence_daemon post_fail_delay="0" post_join_delay="3"/>' batch += '<clusternodes>' - x = 0 + x = 1 for i in nodeList: if os_str == "rhel4": batch += '<clusternode name="' + i + '" votes="1" />'