From d389663ca1196c92a02c7a95aac9bbd983968fdd Mon Sep 17 00:00:00 2001 From: Marc Thomas Date: Mon, 11 Jul 2016 15:39:31 +0200 Subject: [PATCH] fix for mod_aggregate in pkg.py (execution module), if fromrepo is used Fix #16986 --- salt/states/pkg.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/salt/states/pkg.py b/salt/states/pkg.py index 2460232737..cd014cf8c7 100644 --- a/salt/states/pkg.py +++ b/salt/states/pkg.py @@ -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'])