def get_salt_vars():
 __opts__ = salt.config.client_config(os.environ.get('SALT_MINION_CONFIG', '/etc/salt/minion'))
 if (('grains' not in __opts__) or (not __opts__['grains'])):
  __opts__['grains'] = salt.loader.grains(__opts__)
 if (('file_client' not in __opts__) or (not __opts__['file_client'])):
  __opts__['file_client'] = 'local'
 if (('id' not in __opts__) or (not __opts__['id'])):
  __opts__['id'] = 'saltsh_mid'
 __salt__ = salt.loader.minion_mods(__opts__)
 __grains__ = __opts__['grains']
 if (__opts__['file_client'] == 'local'):
  __pillar__ = salt.pillar.get_pillar(__opts__, __grains__, __opts__.get('id'), __opts__.get('environment')).compile_pillar()
 else:
  __pillar__ = {}
 JINJA = (lambda x, **y: jinja2.Template(x).render(grains=__grains__, salt=__salt__, opts=__opts__, pillar=__pillar__, **y))
 return locals()

def get_salt_vars ( ) : __opts__ = salt . config . client_config ( os . environ . get ( 'SALT_MINION_CONFIG' , '/etc/salt/minion' ) ) if ( ( 'grains' not in __opts__ ) or ( not __opts__ [ 'grains' ] ) ) : __opts__ [ 'grains' ] = salt . loader . grains ( __opts__ ) if ( ( 'file_client' not in __opts__ ) or ( not __opts__ [ 'file_client' ] ) ) : __opts__ [ 'file_client' ] = 'local' if ( ( 'id' not in __opts__ ) or ( not __opts__ [ 'id' ] ) ) : __opts__ [ 'id' ] = 'saltsh_mid' __salt__ = salt . loader . minion_mods ( __opts__ ) __grains__ = __opts__ [ 'grains' ] if ( __opts__ [ 'file_client' ] == 'local' ) : __pillar__ = salt . pillar . get_pillar ( __opts__ , __grains__ , __opts__ . get ( 'id' ) , __opts__ . get ( 'environment' ) ) . compile_pillar ( ) else : __pillar__ = { } JINJA = ( lambda x , ** y : jinja2 . Template ( x ) . render ( grains = __grains__ , salt = __salt__ , opts = __opts__ , pillar = __pillar__ , ** y ) ) return locals ( )
return all the salt-usual double-under data structures for a minion .