def not_loaded():
 prov = providers()
 ret = set()
 for mod_dir in salt.loader._module_dirs(__opts__, 'modules', 'module'):
  if (not os.path.isabs(mod_dir)):
   continue
  if (not os.path.isdir(mod_dir)):
   continue
  for fn_ in os.listdir(mod_dir):
   if fn_.startswith('_'):
    continue
   name = fn_.split('.')[0]
   if (name not in prov):
    ret.add(name)
 return sorted(ret)

def not_loaded ( ) : prov = providers ( ) ret = set ( ) for mod_dir in salt . loader . _module_dirs ( __opts__ , 'modules' , 'module' ) : if ( not os . path . isabs ( mod_dir ) ) : continue if ( not os . path . isdir ( mod_dir ) ) : continue for fn_ in os . listdir ( mod_dir ) : if fn_ . startswith ( '_' ) : continue name = fn_ . split ( '.' ) [ 0 ] if ( name not in prov ) : ret . add ( name ) return sorted ( ret )
list the modules that were not loaded by the salt loader system cli example: .