Installing and configuring tmpwatch allows to get rid of some
ugly things in logrotate configuration. As the container has no
network access anymore, we have to install the tool on the host
directly - this isn't that bad.
In order to avoid issues with logrotate manage logs, we explicitely
exclude patterns manage in the specific logorate configuration.
Also, always in order to avoid issues and ensure logrotate does its
own cleanup, we clean files one day later.
Note: this patch is the port of .
We can't really cherry-pick things since we have to correct the
heat_template_version value, and config-download not really supported,
meaning we can't use the "deploy_steps_tasks" as is.
(cherry picked from commit