Merge "Add heat api container to run cron purge_deleted"
This commit is contained in:
@@ -90,6 +90,17 @@ outputs:
|
|||||||
- path: /var/log/heat
|
- path: /var/log/heat
|
||||||
owner: heat:heat
|
owner: heat:heat
|
||||||
recurse: true
|
recurse: true
|
||||||
|
/var/lib/kolla/config_files/heat_api_cron.json:
|
||||||
|
command: /usr/sbin/crond -n
|
||||||
|
config_files:
|
||||||
|
- source: "/var/lib/kolla/config_files/src/*"
|
||||||
|
dest: "/"
|
||||||
|
merge: true
|
||||||
|
preserve_properties: true
|
||||||
|
permissions:
|
||||||
|
- path: /var/log/heat
|
||||||
|
owner: heat:heat
|
||||||
|
recurse: true
|
||||||
docker_config:
|
docker_config:
|
||||||
step_4:
|
step_4:
|
||||||
heat_api:
|
heat_api:
|
||||||
@@ -119,6 +130,20 @@ outputs:
|
|||||||
- ''
|
- ''
|
||||||
environment:
|
environment:
|
||||||
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
||||||
|
heat_api_cron:
|
||||||
|
image: {get_param: DockerHeatApiImage}
|
||||||
|
net: host
|
||||||
|
privileged: false
|
||||||
|
restart: always
|
||||||
|
volumes:
|
||||||
|
list_concat:
|
||||||
|
- {get_attr: [ContainersCommon, volumes]}
|
||||||
|
-
|
||||||
|
- /var/lib/kolla/config_files/heat_api_cron.json:/var/lib/kolla/config_files/config.json:ro
|
||||||
|
- /var/lib/config-data/puppet-generated/heat_api/:/var/lib/kolla/config_files/src:ro
|
||||||
|
- /var/log/containers/heat:/var/log/heat
|
||||||
|
environment:
|
||||||
|
- KOLLA_CONFIG_STRATEGY=COPY_ALWAYS
|
||||||
host_prep_tasks:
|
host_prep_tasks:
|
||||||
- name: create persistent logs directory
|
- name: create persistent logs directory
|
||||||
file:
|
file:
|
||||||
|
|||||||
Reference in New Issue
Block a user