code: def _get_persistent_modules():
      '''
      Returns a list of modules in loader.conf that load on boot.
      '''
      mods = set()
      with salt.utils.files.fopen(_LOADER_CONF, 'r') as loader_conf:
          for line in loader_conf:
              line = salt.utils.stringutils.to_unicode(line)
              line = line.strip()
              mod_name = _get_module_name(line)
              if mod_name:
                  mods.add(mod_name)
      return modf _get_persistent_modules():
      '''
      Returns a list of modules in loader.conf that load on boot.
      '''
      mods = set()
      with salt.utils.files.fopen(_LOADER_CONF, 'r') as loader_conf:
          for line in loader_conf:
              line = salt.utils.stringutils.to_unicode(line)
              line = line.strip()
              mod_name = _get_module_name(line)
              if mod_name:
                  mods.add(mod_name)
      return mods
docs: Returns a list of modules in loader.conf that load on boot.