Browse Source

Merge "Allow removing apt repositories"

pull/128/head
Jakub Josef 7 years ago
parent
commit
4c516f187f
1 changed files with 10 additions and 0 deletions
  1. +10
    -0
      linux/system/repo.sls

+ 10
- 0
linux/system/repo.sls View File



{%- else %} {%- else %}


{%- if repo.get('enabled', True) %}

linux_repo_{{ name }}: linux_repo_{{ name }}:
pkgrepo.managed: pkgrepo.managed:
{%- if repo.ppa is defined %} {%- if repo.ppa is defined %}
{%- endif %} {%- endif %}
{%- endif %} {%- endif %}


{%- else %}

linux_repo_{{ name }}_absent:
file.absent:
- name: /etc/apt/sources.list.d/{{ name }}.list:

{%- endif %}

{%- endif %} {%- endif %}


{%- endif %} {%- endif %}

Loading…
Cancel
Save