Browse Source

Merge pull request #92 from Martin819/master

Add ability to add ppa repo
pull/93/head
Filip Pytloun 7 years ago
parent
commit
ac52e02f79
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      linux/system/repo.sls

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



linux_repo_{{ name }}: linux_repo_{{ name }}:
pkgrepo.managed: pkgrepo.managed:
{%- if repo.ppa is defined %}
- ppa: {{ ppa }}
{%- else %}
- human_name: {{ name }} - human_name: {{ name }}
- name: {{ repo.source }} - name: {{ repo.source }}
{%- if repo.architectures is defined %} {%- if repo.architectures is defined %}
{%- if system.purge_repos|default(False) %} {%- if system.purge_repos|default(False) %}
- file: purge_sources_list_d_repos - file: purge_sources_list_d_repos
{%- endif %} {%- endif %}
{%- endif %}


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



Loading…
Cancel
Save