mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
make sure *all* ignore_missing slses are catched
previously, only the last statement in top.sls with `ignore_missing: true` would actually be effective.
This commit is contained in:
parent
d5b8776355
commit
2f662bbc8d
@ -395,7 +395,7 @@ class Pillar(object):
|
||||
if isinstance(comp, six.string_types):
|
||||
states[comp] = True
|
||||
if ignore_missing:
|
||||
self.ignored_pillars[saltenv] = list(states.keys())
|
||||
self.ignored_pillars[saltenv].extend(states.keys())
|
||||
top[saltenv][tgt] = matches
|
||||
top[saltenv][tgt].extend(states)
|
||||
return self.sort_top_targets(top, orders)
|
||||
|
Loading…
Reference in New Issue
Block a user