]> review.fuel-infra Code Review - openstack-build/heat-build.git/commitdiff
heat templates : IHA HeartbeatFailureAlarm should be Ref
authorSteven Hardy <shardy@redhat.com>
Thu, 17 Jan 2013 11:19:05 +0000 (11:19 +0000)
committerSteven Hardy <shardy@redhat.com>
Thu, 17 Jan 2013 14:45:15 +0000 (14:45 +0000)
cfn-push-stats reference to HeartbeatFailureAlarm should be a
Ref not a hard-coded string, or the engine fails to find the
watch because the name lacks the stack prefix

ref bug 1100719

Change-Id: I0fbec026b883348b674327ae6e097a9452ce375f
Signed-off-by: Steven Hardy <shardy@redhat.com>
templates/WordPress_Single_Instance_With_IHA.template

index e0022696d5490940eb808ed43724dbaa46e7069a..72093899619eccf7b2785f3fd6b38ff54ed68b1a 100644 (file)
                 "MAIL=\"\"\n",
                 "\n",
                 "* * * * * /opt/aws/bin/cfn-push-stats ",
-                " --watch HeartbeatFailureAlarm --heartbeat\n"
+                " --watch ", { "Ref" : "HeartbeatFailureAlarm" },
+                " --heartbeat\n"
                 ]]},
                 "mode"    : "000600",
                 "owner"   : "root",