diff options
author | Jenkins <jenkins@review.openstack.org> | 2017-04-19 10:54:36 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2017-04-19 10:54:36 +0000 |
commit | 431bc8109a0233ddd915374a9d0f19da76754352 (patch) | |
tree | 278e7ef43c05742afc20f930027a6526dbef9afe /docker/services/neutron-l3.yaml | |
parent | 1ecf50207bbc15005c590b0e7cd3e0266e60c94b (diff) | |
parent | e81ddeb685f494bfcfa592212fe8d44c9cc55862 (diff) |
Merge "Introduce common resources for docker templates"
Diffstat (limited to 'docker/services/neutron-l3.yaml')
-rw-r--r-- | docker/services/neutron-l3.yaml | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/docker/services/neutron-l3.yaml b/docker/services/neutron-l3.yaml index 0b04b56d..90fe65f6 100644 --- a/docker/services/neutron-l3.yaml +++ b/docker/services/neutron-l3.yaml @@ -34,6 +34,9 @@ parameters: resources: + ContainersCommon: + type: ./containers-common.yaml + NeutronL3Base: type: ../../puppet/services/neutron-l3.yaml properties: @@ -72,10 +75,14 @@ outputs: privileged: true restart: always volumes: - - /var/lib/kolla/config_files/neutron-l3-agent.json:/var/lib/kolla/config_files/config.json:ro - - /var/lib/config-data/neutron/etc/neutron/:/etc/neutron/:ro - - /etc/localtime:/etc/localtime:ro - - /lib/modules:/lib/modules:ro - - /run:/run + yaql: + expression: $.data.common.concat($.data.service) + data: + common: {get_attr: [ContainersCommon, volumes]} + service: + - /var/lib/kolla/config_files/neutron-l3-agent.json:/var/lib/kolla/config_files/config.json:ro + - /var/lib/config-data/neutron/etc/neutron/:/etc/neutron/:ro + - /lib/modules:/lib/modules:ro + - /run:/run environment: - KOLLA_CONFIG_STRATEGY=COPY_ALWAYS |