summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Pokorný <jpokorny@redhat.com>2015-03-11 20:37:01 +0100
committerJan Pokorný <jpokorny@redhat.com>2015-03-16 22:40:37 +0100
commitf91f83c0450fb231ffc0ddb5f9ae8e6fa3b74508 (patch)
treec497219132a292c6d9b485403d823175439a5fab
parent5b10912515dfd776414022973493bb7e32ecd990 (diff)
downloadclufter-f91f83c0450fb231ffc0ddb5f9ae8e6fa3b74508.tar.gz
clufter-f91f83c0450fb231ffc0ddb5f9ae8e6fa3b74508.tar.xz
clufter-f91f83c0450fb231ffc0ddb5f9ae8e6fa3b74508.zip
filters/ccsflat2pcsprelude[postgres-8]: fix duplicate nvpair IDs
(Clearly a sign more systemic/less error-prone solution needed, in the works...) Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
-rw-r--r--filters/cluster/rm/postgres-8/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/filters/cluster/rm/postgres-8/__init__.py b/filters/cluster/rm/postgres-8/__init__.py
index 61ec739..61060f4 100644
--- a/filters/cluster/rm/postgres-8/__init__.py
+++ b/filters/cluster/rm/postgres-8/__init__.py
@@ -31,13 +31,13 @@ ccsflat2pcsprelude = '''\
value="{@config_file}"/>
<!-- start_opt ~ postmaster_options -->
<xsl:if test="postmaster_options">
- <nvpair id="{concat($Prefix, '-ATTRS-config')}"
+ <nvpair id="{concat($Prefix, '-ATTRS-start_opt')}"
name="start_opt"
value="{@postmaster_options}"/>
</xsl:if>
<!-- pgdba ~ postmaster_user -->
<xsl:if test="postmaster_user">
- <nvpair id="{concat($Prefix, '-ATTRS-config')}"
+ <nvpair id="{concat($Prefix, '-ATTRS-pgdba')}"
name="pgdba"
value="{@postmaster_user}"/>
</xsl:if>