Use SoftwareDeployments for consistency in extraconfig

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
changes/42/193142/1
Steven Hardy 8 years ago
parent 63af3fcbe9
commit 6e49e15e65
  1. 2
      extraconfig/post_deploy/example.yaml
  2. 4
      extraconfig/post_deploy/rhel-registration/rhel-registration.yaml

@ -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}

@ -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}

Loading…
Cancel
Save