diff options
author | Jenkins <jenkins@review.openstack.org> | 2016-12-01 16:47:37 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2016-12-01 16:47:37 +0000 |
commit | 1de7c229eae2c0427da9bf58f5ac0d38c23addcc (patch) | |
tree | adfc8304c80916fe6bc13dfb532a438e6aefa986 /puppet/services/services.yaml | |
parent | da9a90e8b8d76e09c44cc800dd243e3c2c5ef136 (diff) | |
parent | dbece39f549395c85701566edbff9fc19977665d (diff) |
Merge "Initial support for composable upgrades with Heat+Ansible"
Diffstat (limited to 'puppet/services/services.yaml')
-rw-r--r-- | puppet/services/services.yaml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/puppet/services/services.yaml b/puppet/services/services.yaml index ffe2d2d4..13df5bbe 100644 --- a/puppet/services/services.yaml +++ b/puppet/services/services.yaml @@ -108,3 +108,8 @@ outputs: expression: $.data.role_data.where($ != null).select($.get('service_config_settings')).where($ != null).reduce($1.mergeWith($2), {}) data: {role_data: {get_attr: [ServiceChain, role_data]}} step_config: {list_join: ["\n", {get_attr: [ServiceChain, role_data, step_config]}]} + upgrade_tasks: + yaql: + # Note we use distinct() here to filter any identical tasks, e.g yum update for all services + expression: $.data.where($ != null).select($.get('upgrade_tasks')).where($ != null).flatten().distinct() + data: {get_attr: [ServiceChain, role_data]} |