Browse Source

add update when default repo is changed

Closes-Bug: #PROD-10623
Change-Id: I9e070f7f96b1f0b8eafa12403c5df4ae5be3e42c
pull/101/head
Marek Celoud 7 years ago
parent
commit
f163f06194
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      linux/system/repo.sls

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

@@ -191,6 +191,12 @@ default_repo_list:
- require:
- pkg: linux_repo_prereq_pkgs

refresh_default_repo:
module.wait:
- name: pkg.refresh_db
- watch:
- file: default_repo_list

{%- endif %}

{%- endif %}

Loading…
Cancel
Save