mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
parent
0ab9435971
commit
59c6ace8ef
@ -973,7 +973,7 @@ def get_managed(
|
||||
if template and source:
|
||||
sfn = __salt__['cp.cache_file'](source, env)
|
||||
if not os.path.exists(sfn):
|
||||
return sfn, {}, 'File "{0}" could not be found'.format(sfn)
|
||||
return sfn, {}, 'Source file {0} not found'.format(source)
|
||||
if template in salt.utils.templates.TEMPLATE_REGISTRY:
|
||||
context_dict = defaults if defaults else {}
|
||||
if context:
|
||||
|
Loading…
Reference in New Issue
Block a user