mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
--extra-filerefs include files even if no refs in states to apply
Fixes #47496
This commit is contained in:
parent
8df37f734a
commit
d67239aae7
1 changed files with 2 additions and 2 deletions
|
@ -135,9 +135,9 @@ def lowstate_file_refs(chunks, extras=''):
|
|||
elif state.startswith('__'):
|
||||
continue
|
||||
crefs.extend(salt_refs(chunk[state]))
|
||||
if saltenv not in refs:
|
||||
refs[saltenv] = []
|
||||
if crefs:
|
||||
if saltenv not in refs:
|
||||
refs[saltenv] = []
|
||||
refs[saltenv].append(crefs)
|
||||
if extras:
|
||||
extra_refs = extras.split(',')
|
||||
|
|
Loading…
Add table
Reference in a new issue