def sync_all(saltenv=None, refresh=True):
 log.debug('Syncing all')
 ret = {}
 ret['beacons'] = sync_beacons(saltenv, False)
 ret['modules'] = sync_modules(saltenv, False)
 ret['states'] = sync_states(saltenv, False)
 ret['sdb'] = sync_sdb(saltenv)
 ret['grains'] = sync_grains(saltenv, False)
 ret['renderers'] = sync_renderers(saltenv, False)
 ret['returners'] = sync_returners(saltenv, False)
 ret['output'] = sync_output(saltenv, False)
 ret['utils'] = sync_utils(saltenv, False)
 ret['log_handlers'] = sync_log_handlers(saltenv, False)
 ret['proxymodules'] = sync_proxymodules(saltenv, False)
 ret['engines'] = sync_engines(saltenv, False)
 if (__opts__['file_client'] == 'local'):
  ret['pillar'] = sync_pillar(saltenv, False)
 if refresh:
  refresh_modules()
  refresh_pillar()
 return ret

def sync_all ( saltenv = None , refresh = True ) : log . debug ( 'Syncing all' ) ret = { } ret [ 'beacons' ] = sync_beacons ( saltenv , False ) ret [ 'modules' ] = sync_modules ( saltenv , False ) ret [ 'states' ] = sync_states ( saltenv , False ) ret [ 'sdb' ] = sync_sdb ( saltenv ) ret [ 'grains' ] = sync_grains ( saltenv , False ) ret [ 'renderers' ] = sync_renderers ( saltenv , False ) ret [ 'returners' ] = sync_returners ( saltenv , False ) ret [ 'output' ] = sync_output ( saltenv , False ) ret [ 'utils' ] = sync_utils ( saltenv , False ) ret [ 'log_handlers' ] = sync_log_handlers ( saltenv , False ) ret [ 'proxymodules' ] = sync_proxymodules ( saltenv , False ) ret [ 'engines' ] = sync_engines ( saltenv , False ) if ( __opts__ [ 'file_client' ] == 'local' ) : ret [ 'pillar' ] = sync_pillar ( saltenv , False ) if refresh : refresh_modules ( ) refresh_pillar ( ) return ret
sync all custom types saltenv : base the fileserver environment from which to sync .