tripleo-heat-templates/common
Emilien Macchi d8ee4b9e73 docker-puppet.py: only create docker-puppet.sh when it doesn't exist
In docker-puppet.py, we only create docker-puppet.sh script if it
doesn't exist yet. It's not useful to re-create it and it can be
dangerous to regenerate the script while docker-puppet.py is running,
since we bind mount the script to the containers.
It's possible that during a multi-process task, the script changes and
then the entrypoint fails to run correctly if the interpreter is not
present in the script.

This patch makes sure that we create the script only when needed, and
also that we remove it before running docker-puppet.py, which will be
useful when doing clean deployments or upgrades.

Context: https://github.com/containers/libpod/issues/1844
Change-Id: I0ac69adb47f59a9ca82764b5537532014a782913
2019-01-08 21:55:10 -05:00
..
deploy-steps-tasks.yaml docker-puppet.py: only create docker-puppet.sh when it doesn't exist 2019-01-08 21:55:10 -05:00
deploy-steps.j2 Ensure we get the right SELinux context for config-data sub-dir 2019-01-03 15:33:36 +01:00
post.j2.yaml Consolidate puppet/docker deployments with one deploy steps workflow 2017-08-11 17:25:02 +00:00
services.yaml Add stack output ansible_group_vars 2018-10-17 16:44:50 +00:00