Browse Source

Add ability to add ppa repo

pull/92/head
Martin Polreich 7 years ago
parent
commit
09a648ae21
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      linux/system/repo.sls

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

@@ -103,6 +103,9 @@ linux_repo_{{ name }}_key:

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

{%- endif %}


Loading…
Cancel
Save