def get_returner_options(virtualname=None, ret=None, attrs=None, **kwargs):
 ret_config = _fetch_ret_config(ret)
 attrs = (attrs or {})
 profile_attr = kwargs.get('profile_attr', None)
 profile_attrs = kwargs.get('profile_attrs', None)
 defaults = kwargs.get('defaults', None)
 __salt__ = kwargs.get('__salt__', {})
 __opts__ = kwargs.get('__opts__', {})
 cfg = __salt__.get('config.option', __opts__)
 _options = dict(_options_browser(cfg, ret_config, defaults, virtualname, attrs))
 _options.update(_fetch_profile_opts(cfg, virtualname, __salt__, _options, profile_attr, profile_attrs))
 if (ret and ('ret_kwargs' in ret)):
  _options.update(ret['ret_kwargs'])
 return _options

def get_returner_options ( virtualname = None , ret = None , attrs = None , ** kwargs ) : ret_config = _fetch_ret_config ( ret ) attrs = ( attrs or { } ) profile_attr = kwargs . get ( 'profile_attr' , None ) profile_attrs = kwargs . get ( 'profile_attrs' , None ) defaults = kwargs . get ( 'defaults' , None ) __salt__ = kwargs . get ( '__salt__' , { } ) __opts__ = kwargs . get ( '__opts__' , { } ) cfg = __salt__ . get ( 'config.option' , __opts__ ) _options = dict ( _options_browser ( cfg , ret_config , defaults , virtualname , attrs ) ) _options . update ( _fetch_profile_opts ( cfg , virtualname , __salt__ , _options , profile_attr , profile_attrs ) ) if ( ret and ( 'ret_kwargs' in ret ) ) : _options . update ( ret [ 'ret_kwargs' ] ) return _options
get the returner options from salt .