mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Fallback to base per #5092
This commit is contained in:
parent
43a3e7bf25
commit
5200ed71fd
@ -128,7 +128,7 @@ def set_file(path, **kwargs):
|
||||
|
||||
salt '*' debconf.set_file salt://pathto/pkg.selections
|
||||
'''
|
||||
path = __salt__['cp.cache_file'](path, kwargs.get('__env__'))
|
||||
path = __salt__['cp.cache_file'](path, kwargs.get('__env__', 'base'))
|
||||
if path:
|
||||
_set_file(path)
|
||||
return True
|
||||
|
Loading…
Reference in New Issue
Block a user