aboutsummaryrefslogtreecommitdiffstats
path: root/extraconfig/pre_deploy/rhel-registration/rhel-registration.yaml
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2017-08-15 14:34:38 +0000
committerGerrit Code Review <review@openstack.org>2017-08-15 14:34:38 +0000
commitf988e0cc6bfe568c29473a4a2e5d93025862ada0 (patch)
treed837b9e8b7e50cfa41670ca468c78bf92c773faf /extraconfig/pre_deploy/rhel-registration/rhel-registration.yaml
parent6976b8f6502394b09fb502666a47c0b2fcbc5304 (diff)
parent589b18dafc5f9a79d39bfb0a1d8ecbc0d3d34627 (diff)
Merge "Fix Heat condition for RHEL registration yum update"
Diffstat (limited to 'extraconfig/pre_deploy/rhel-registration/rhel-registration.yaml')
-rw-r--r--extraconfig/pre_deploy/rhel-registration/rhel-registration.yaml7
1 files changed, 5 insertions, 2 deletions
diff --git a/extraconfig/pre_deploy/rhel-registration/rhel-registration.yaml b/extraconfig/pre_deploy/rhel-registration/rhel-registration.yaml
index fb0d1699..8b2b2308 100644
--- a/extraconfig/pre_deploy/rhel-registration/rhel-registration.yaml
+++ b/extraconfig/pre_deploy/rhel-registration/rhel-registration.yaml
@@ -72,6 +72,10 @@ conditions:
equals:
- {get_param: deployment_actions}
- []
+ update_requested:
+ equals:
+ - {get_param: UpdateOnRHELRegistration}
+ - true
resources:
@@ -180,8 +184,7 @@ resources:
UpdateDeploymentAfterRHELRegistration:
type: OS::Heat::SoftwareDeployment
depends_on: RHELRegistrationDeployment
- conditions:
- update_requested: {get_param: UpdateOnRHELRegistration}
+ condition: update_requested
properties:
name: UpdateDeploymentAfterRHELRegistration
config: {get_resource: YumUpdateConfigurationAfterRHELRegistration}