summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Pokorný <jpokorny@redhat.com>2015-03-12 17:57:54 +0100
committerJan Pokorný <jpokorny@redhat.com>2015-03-16 22:40:43 +0100
commit8043bb20df92a8742190d5dae45d8aeb98194fb3 (patch)
tree93c28c296870baf409dc89a9ad527344e240f0d7
parent798d2c334c2ed4183a88fea6300e7be5e8cdfd9e (diff)
downloadclufter-8043bb20df92a8742190d5dae45d8aeb98194fb3.tar.gz
clufter-8043bb20df92a8742190d5dae45d8aeb98194fb3.tar.xz
clufter-8043bb20df92a8742190d5dae45d8aeb98194fb3.zip
filters/ccsflat2pcsprelude[mysql]: + @{startup,shutdown}_wait
Resolves: https://bugzilla.redhat.com/show_bug.cgi?id=1201282 Reported-by: Patrik Hagara <phagara@redhat.com> Signed-off-by: Jan Pokorný <jpokorny@redhat.com>
-rw-r--r--filters/cluster/rm/mysql/__init__.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/filters/cluster/rm/mysql/__init__.py b/filters/cluster/rm/mysql/__init__.py
index 8f440d8..56887fe 100644
--- a/filters/cluster/rm/mysql/__init__.py
+++ b/filters/cluster/rm/mysql/__init__.py
@@ -36,6 +36,15 @@ ccsflat2pcsprelude = '''\
</nvpair>
</xsl:if>
</instance_attributes>
+
+ <!-- OPERATIONS -->
+ <operations>
+''' + (
+ rg2hb_xsl('start', 'startup_wait', op=True)
+ +
+ rg2hb_xsl('stop', 'shutdown_wait', op=True)
+) + '''\
+ </operations>
</xsl:when>
'''