commit | f163f06194a9a02fb08e95bbf7cdf10b580e2e68 | [log] [tgz] |
---|---|---|
author | Marek Celoud <mceloud@mirantis.com> | Thu Apr 27 16:25:09 2017 +0200 |
committer | Marek Celoud <mceloud@mirantis.com> | Thu May 18 15:12:59 2017 +0200 |
tree | 898e2d2c878cc5fdd6f29c31b995cb87abf14ddb | |
parent | 8f965ec87ab50badef989421a6093163eaf014d6 [diff] |
add update when default repo is changed Closes-Bug: #PROD-10623 Change-Id: I9e070f7f96b1f0b8eafa12403c5df4ae5be3e42c
diff --git a/linux/system/repo.sls b/linux/system/repo.sls index b1c3e1b..813c1e1 100644 --- a/linux/system/repo.sls +++ b/linux/system/repo.sls
@@ -191,6 +191,12 @@ - require: - pkg: linux_repo_prereq_pkgs +refresh_default_repo: + module.wait: + - name: pkg.refresh_db + - watch: + - file: default_repo_list + {%- endif %} {%- endif %}