From mboxrd@z Thu Jan 1 00:00:00 1970 From: rmccabe@sourceware.org Date: 12 Oct 2006 21:57:10 -0000 Subject: [Cluster-devel] conga/luci/site/luci/Extensions ricci_bridge.py Message-ID: <20061012215710.9885.qmail@sourceware.org> List-Id: To: cluster-devel.redhat.com MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit CVSROOT: /cvs/cluster Module name: conga Changes by: rmccabe at sourceware.org 2006-10-12 21:57:09 Modified files: luci/site/luci/Extensions: ricci_bridge.py Log message: set cluster_version xml attr Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/site/luci/Extensions/ricci_bridge.py.diff?cvsroot=cluster&r1=1.24&r2=1.25 --- conga/luci/site/luci/Extensions/ricci_bridge.py 2006/10/12 21:00:49 1.24 +++ conga/luci/site/luci/Extensions/ricci_bridge.py 2006/10/12 21:57:09 1.25 @@ -725,8 +725,14 @@ upgrade_rpms): batch = '' batch += '' - - + + if os_str == 'rhel5': + cluster_version = '5' + elif os_str == 'rhel4': + cluster_version = '4' + else: + cluster_version = 'unknown' + batch += '' batch += '' batch += '' @@ -772,7 +778,7 @@ batch += '' batch += '' batch += '' - batch += '' + batch += '' batch += '' batch += ''