c71e8ba8ff
Heka has been removed and replaced by fluentd. Refer to https://review.openstack.org/#/c/437874/ Change-Id: I989e5d71b5ba4d036dd45c02b3923c5bf27a04ed
24 lines
645 B
Django/Jinja
24 lines
645 B
Django/Jinja
FROM {{ namespace }}/{{ image_prefix }}base:{{ tag }}
|
|
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
|
|
|
|
{% block cron_header %}{% endblock %}
|
|
|
|
{% import "macros.j2" as macros with context %}
|
|
|
|
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
|
{% set cron_packages = [
|
|
'cronie',
|
|
'logrotate'
|
|
] %}
|
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
|
{% set cron_packages = [
|
|
'cron',
|
|
'logrotate'
|
|
] %}
|
|
{% endif %}
|
|
|
|
{{ macros.install_packages(cron_packages | customizable("packages")) }}
|
|
|
|
{% block cron_footer %}{% endblock %}
|
|
{% block footer %}{% endblock %}
|