mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Merge pull request #34582 from Azidburn/fix-pkg-fromrepo
fix for mod_aggregate in pkg.py (state module), if fromrepo is used
This commit is contained in:
commit
993b217ce1
@ -2493,6 +2493,9 @@ def mod_aggregate(low, chunks, running):
|
||||
# Check for the same function
|
||||
if chunk.get('fun') != low.get('fun'):
|
||||
continue
|
||||
# Check for the same repo
|
||||
if chunk.get('fromrepo') != low.get('fromrepo'):
|
||||
continue
|
||||
# Pull out the pkg names!
|
||||
if 'pkgs' in chunk:
|
||||
pkgs.extend(chunk['pkgs'])
|
||||
|
Loading…
Reference in New Issue
Block a user