Fix bad comment when no source template file is found

Fix #3699
This commit is contained in:
Thomas S Hatch 2013-03-10 21:01:23 -06:00
parent 0ab9435971
commit 59c6ace8ef

View File

@ -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: