diff options
author | Jenkins <jenkins@review.openstack.org> | 2017-08-13 06:51:54 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2017-08-13 06:51:54 +0000 |
commit | 0d38c36d36b532e75078535c5a33ae1185733248 (patch) | |
tree | 6854113f4bd63e0d8331b3676c2d4b3a4599345e /common/services.yaml | |
parent | 057b6e3aebfa54a4468a23d8e78c0217281bfd25 (diff) | |
parent | 1801565a75018fea1d6c8fd30543c9b238167652 (diff) |
Merge "Add support for update_tasks"
Diffstat (limited to 'common/services.yaml')
-rw-r--r-- | common/services.yaml | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/common/services.yaml b/common/services.yaml index 0bc3462f..a8186e43 100644 --- a/common/services.yaml +++ b/common/services.yaml @@ -193,6 +193,16 @@ resources: expression: coalesce($.data, []).where($ != null).select($.get('upgrade_tasks')).where($ != null).flatten().distinct() data: {get_attr: [ServiceChain, role_data]} + UpdateTasks: + type: OS::Heat::Value + properties: + type: comma_delimited_list + value: + yaql: + # Note we use distinct() here to filter any identical tasks, e.g yum update for all services + expression: coalesce($.data, []).where($ != null).select($.get('update_tasks')).where($ != null).flatten().distinct() + data: {get_attr: [ServiceChain, role_data]} + UpgradeBatchTasks: type: OS::Heat::Value properties: @@ -253,6 +263,7 @@ outputs: service_workflow_tasks: {get_attr: [ServiceWorkflowTasks, value]} step_config: {get_attr: [PuppetStepConfig, value]} upgrade_tasks: {get_attr: [UpgradeTasks, value]} + update_tasks: {get_attr: [UpdateTasks, value]} upgrade_batch_tasks: {get_attr: [UpgradeBatchTasks, value]} service_metadata_settings: {get_attr: [ServiceServerMetadataHook, metadata]} |