From 90ab473643986316c87f4d6d83f0fb7a56572e1d Mon Sep 17 00:00:00 2001 From: Steven Hardy Date: Tue, 22 Jan 2013 15:07:16 +0000 Subject: [PATCH] heat rename HEAT::HA::Restarter resource Rename HEAT::HA::Restarter to OS::Heat::HARestarter, which fits better with the other openstack-native resources which use the OS:: namespace Change-Id: I40038e64979aca184971b11e83f6ef92a3b54571 Signed-off-by: Steven Hardy --- heat/engine/resources/instance.py | 2 +- templates/WordPress_Single_Instance_With_HA.template | 2 +- templates/WordPress_Single_Instance_With_IHA.template | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/heat/engine/resources/instance.py b/heat/engine/resources/instance.py index 4ee54bb5..0c590516 100644 --- a/heat/engine/resources/instance.py +++ b/heat/engine/resources/instance.py @@ -323,5 +323,5 @@ class Instance(resource.Resource): def resource_mapping(): return { 'AWS::EC2::Instance': Instance, - 'HEAT::HA::Restarter': Restarter, + 'OS::Heat::HARestarter': Restarter, } diff --git a/templates/WordPress_Single_Instance_With_HA.template b/templates/WordPress_Single_Instance_With_HA.template index bb048fad..5db88ca2 100644 --- a/templates/WordPress_Single_Instance_With_HA.template +++ b/templates/WordPress_Single_Instance_With_HA.template @@ -107,7 +107,7 @@ } }, "WebServerRestartPolicy" : { - "Type" : "HEAT::HA::Restarter", + "Type" : "OS::Heat::HARestarter", "Properties" : { "InstanceId" : { "Ref" : "WikiDatabase" } } diff --git a/templates/WordPress_Single_Instance_With_IHA.template b/templates/WordPress_Single_Instance_With_IHA.template index 15a3ad1e..9b7d958a 100644 --- a/templates/WordPress_Single_Instance_With_IHA.template +++ b/templates/WordPress_Single_Instance_With_IHA.template @@ -107,7 +107,7 @@ } }, "WebServerRestartPolicy" : { - "Type" : "HEAT::HA::Restarter", + "Type" : "OS::Heat::HARestarter", "Properties" : { "InstanceId" : { "Ref" : "WikiDatabase" } } -- 2.45.2