Merge pull request #3 from rbkmoney/03

packages template jinja wrap lines fix
This commit is contained in:
Alexander Miroshnichenko 2019-04-18 17:41:04 +03:00 committed by GitHub
commit 90f8cea41b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,15 +1,15 @@
# Dynamic config file for portage(5) generated by salt-minion(1)
# DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN
{% if packagefile == 'keywords' %}
{%- for atom in packagespillar recursive %}
{%- if packagespillar[atom].kwrd is defined %}
{% for atom in packagespillar recursive %}
{% if packagespillar[atom].kwrd is defined %}
{% if packagespillar[atom].version is defined %}={% endif %}{{ atom }}{% if packagespillar[atom].version is defined %}-{{ packagespillar[atom].version }}{% endif %} {{ packagespillar[atom].kwrd }}
{%- endif %}
{%- endfor %}
{%- elif packagefile == 'use' %}
{%- for atom in packagespillar recursive %}
{%- if packagespillar[atom].use is defined %}
{% endif %}
{% endfor %}
{% elif packagefile == 'use' %}
{% for atom in packagespillar recursive %}
{% if packagespillar[atom].use is defined %}
{{ atom }} {{ packagespillar[atom].use }}
{%- endif %}
{%- endfor %}
{%- endif %}
{% endif %}
{% endfor %}
{% endif %}