Browse Source

Pretty up the task name output

master
Adam Bolte 8 years ago
parent
commit
bbfa6f5a80
No account linked to committer's email address
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      apt/repositories.sls

+ 2
- 1
apt/repositories.sls View File

{%- for type in args.type|d(['binary']) %} {%- for type in args.type|d(['binary']) %}
{%- set r_type = 'deb-src' if type == 'source' else 'deb' %} {%- set r_type = 'deb-src' if type == 'source' else 'deb' %}


{{ repo }}{{ type }}:
{{ r_type }} {{ repo }}:
pkgrepo.managed: pkgrepo.managed:
- name: {{ r_type }} {{ r_arch }} {{ r_url }} {{ r_distro }} {{ r_comps }} - name: {{ r_type }} {{ r_arch }} {{ r_url }} {{ r_distro }} {{ r_comps }}
- file: {{ sources_list_dir }}/{{ repo }}-{{ type }}.list - file: {{ sources_list_dir }}/{{ repo }}-{{ type }}.list
- keyserver: {{ r_keyserver }} - keyserver: {{ r_keyserver }}
{% endif %} {% endif %}
- clean_file: true - clean_file: true

{%- endfor %} {%- endfor %}
{% endfor %} {% endfor %}

Loading…
Cancel
Save