def set_file(path, saltenv='base', **kwargs):
 if ('__env__' in kwargs):
  salt.utils.warn_until('Oxygen', "Parameter '__env__' has been detected in the argument list.  This parameter is no longer used and has been replaced by 'saltenv' as of Salt 2016.11.0.  This warning will be removed in Salt Oxygen.")
  kwargs.pop('__env__')
 path = __salt__['cp.cache_file'](path, saltenv)
 if path:
  _set_file(path)
  return True
 return False

def set_file ( path , saltenv = 'base' , ** kwargs ) : if ( '__env__' in kwargs ) : salt . utils . warn_until ( 'Oxygen' , "Parameter '__env__' has been detected in the argument list.  This parameter is no longer used and has been replaced by 'saltenv' as of Salt 2016.11.0.  This warning will be removed in Salt Oxygen." ) kwargs . pop ( '__env__' ) path = __salt__ [ 'cp.cache_file' ] ( path , saltenv ) if path : _set_file ( path ) return True return False
set debconf selections from a file or a template .