{# if running the test in a container
just install docker-io
#}
{% if contained_harness is defined %}
{{ docker_package }}
{% else %}
{#
## If packages variable is set add additional packages to this install
## packages=httpd:selinux:kernel
## Add recipe packages only if not overriden by 'packages' variable.
#}
{% if packages is defined %}
{% for package in packages|split(':') %}
{{ package }}
{% endfor %}
{% else %}
{% if recipe %}
{% for recipe_package in recipe.custom_packages|sort(attribute='package') %}
{{ recipe_package.package }}
{% endfor %}
{% if install_task_requires is defined %}
{% for recipe_package in recipe.task_requirements %}
{{ recipe_package.package }}
{% endfor %}
{% else %}
# Task requirements will be installed by the harness
{% endif %}
{% endif %}
{% endif %}
{% endif %}
