svn path=/trunk/packages/invirt-cluster-config/; revision=2023
%>\
<?xml version="1.0"?>
<cluster name="invirt" config_version="1">
+% if len(cfg.hosts) == 2:
+ <cman two_node="1" expected_votes="1" />
+% else:
<cman />
+% endif
<clusternodes>
% for id, host in enumerate(cfg.hosts):
<clusternode name="${host.hostname.split('.')[0]}-internal" nodeid="${id + 1}" />
+invirt-cluster-config (0.0.9) unstable; urgency=low
+
+ * Correctly generate cluster.conf for a two-node cluster.
+
+ -- Evan Broder <broder@mit.edu> Fri, 30 Jan 2009 05:46:04 -0500
+
invirt-cluster-config (0.0.8) unstable; urgency=low
* Add Provides and Conflicts lines to debian/control for