Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Merge "Remove overcloud_common.pp"
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuul authored and openstack-gerrit committed Sep 24, 2020
2 parents b2d3c05 + 7ffa24c commit 3961826
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 43 deletions.
22 changes: 8 additions & 14 deletions common/services/role.role.j2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -64,20 +64,14 @@ resources:
properties:
type: string
value:
list_join:
- "\n"
- - str_replace:
template: {get_file: ../../puppet/manifests/overcloud_common.pp}
params:
__ROLE__: {get_param: RoleName}
- yaql:
expression:
# select 'step_config' only from services that do not have a docker_config
coalesce($.data.service_names, []).zip(coalesce($.data.step_config, []), coalesce($.data.docker_config, [])).where($[2] = null).where($[1] != null).select($[1]).join("\n")
data:
service_names: {get_attr: [ServiceChain, role_data, service_name]}
step_config: {get_attr: [ServiceChain, role_data, step_config]}
docker_config: {get_attr: [ServiceChain, role_data, docker_config]}
yaql:
expression:
# select 'step_config' only from services that do not have a docker_config
coalesce($.data.service_names, []).zip(coalesce($.data.step_config, []), coalesce($.data.docker_config, [])).where($[2] = null).where($[1] != null).select($[1]).join("\n")
data:
service_names: {get_attr: [ServiceChain, role_data, service_name]}
step_config: {get_attr: [ServiceChain, role_data, step_config]}
docker_config: {get_attr: [ServiceChain, role_data, docker_config]}

DockerConfig:
type: OS::Heat::Value
Expand Down
29 changes: 0 additions & 29 deletions puppet/manifests/overcloud_common.pp

This file was deleted.

0 comments on commit 3961826

Please sign in to comment.