Browse Source

require linux_packages install in repo state

tags/2017.4
Marek Celoud 7 years ago
parent
commit
159d381e0f
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      linux/system/repo.sls

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

@@ -58,6 +58,8 @@ linux_repo_{{ name }}:
{%- if repo.key_url is defined %}
- key_url: {{ repo.key_url }}
{%- endif %}
- require:
- pkg: linux_packages

{%- endif %}

@@ -80,6 +82,8 @@ linux_repo_{{ name }}:
{%- if repo.gpgkey is defined %}
- gpgkey: {{ repo.gpgkey }}
{%- endif %}
- require:
- pkg: linux_packages

{%- endif %}

@@ -99,6 +103,8 @@ default_repo_list:
- mode: 0644
- defaults:
default_repos: {{ default_repos }}
- require:
- pkg: linux_packages

{%- endif %}


Loading…
Cancel
Save