mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
don't merge ext_nodes with pillar lookup, fix #1816
This commit is contained in:
parent
34eaf1f26c
commit
937bd5b67d
@ -242,12 +242,6 @@ class Pillar(object):
|
||||
for item in data:
|
||||
if isinstance(item, string_types):
|
||||
matches[env].append(item)
|
||||
ext_matches = self.client.ext_nodes()
|
||||
for env in ext_matches:
|
||||
if env in matches:
|
||||
matches[env] = list(set(ext_matches[env]).union(matches[env]))
|
||||
else:
|
||||
matches[env] = ext_matches[env]
|
||||
return matches
|
||||
|
||||
def render_pstate(self, sls, env, mods):
|
||||
|
Loading…
Reference in New Issue
Block a user