Use SoftwareDeployments for consistency in extraconfig
authorSteven Hardy <shardy@redhat.com>
Thu, 18 Jun 2015 13:13:58 +0000 (09:13 -0400)
committerSteven Hardy <shardy@redhat.com>
Thu, 18 Jun 2015 13:13:58 +0000 (09:13 -0400)
Currently we've got a mix of SoftwareConfig resource with
StructuredDeployments resources - while this will work it's
inconsistent and normally using the corresponding
SoftwareDeployments resouce is encourgaged instead.

Change-Id: I308d62d4ff491c073e3e8650fd4c2c65bf96d14a

extraconfig/post_deploy/example.yaml
extraconfig/post_deploy/rhel-registration/rhel-registration.yaml

index 6b816d4..1d3dca2 100644 (file)
@@ -20,7 +20,7 @@ resources:
         echo "extra" > /root/extra
 
   ExtraDeployments:
-    type: OS::Heat::StructuredDeployments
+    type: OS::Heat::SoftwareDeployments
     properties:
       servers:  {get_param: servers}
       config: {get_resource: ExtraConfig}
index cbf8f8b..bf6c88c 100644 (file)
@@ -71,7 +71,7 @@ resources:
       config: {get_file: scripts/rhel-registration}
 
   RHELRegistrationDeployment:
-    type: OS::Heat::StructuredDeployments
+    type: OS::Heat::SoftwareDeployments
     properties:
       servers:  {get_param: servers}
       config: {get_resource: RHELRegistration}
@@ -104,7 +104,7 @@ resources:
         - name: REG_METHOD
 
   RHELUnregistrationDeployment:
-    type: OS::Heat::StructuredDeployments
+    type: OS::Heat::SoftwareDeployments
     properties:
       servers:  {get_param: servers}
       config: {get_resource: RHELUnregistration}