From f456340e03d28af168520563d39b754172d033a5 Mon Sep 17 00:00:00 2001 From: Evan Broder Date: Fri, 30 Jan 2009 05:46:18 -0500 Subject: [PATCH] Correctly generate cluster.conf for a two-node cluster. svn path=/trunk/packages/invirt-cluster-config/; revision=2023 --- cluster.conf.mako | 4 ++++ debian/changelog | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/cluster.conf.mako b/cluster.conf.mako index 44b1541..806e92d 100644 --- a/cluster.conf.mako +++ b/cluster.conf.mako @@ -3,7 +3,11 @@ from invirt.config import structs as cfg %>\ +% if len(cfg.hosts) == 2: + +% else: +% endif % for id, host in enumerate(cfg.hosts): diff --git a/debian/changelog b/debian/changelog index 1c7595c..b5b0e13 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +invirt-cluster-config (0.0.9) unstable; urgency=low + + * Correctly generate cluster.conf for a two-node cluster. + + -- Evan Broder 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 -- 1.7.9.5