def _set_persistent_module(mod):
 if ((not mod) or (mod in mod_list(True)) or (mod not in available())):
  return set()
 __salt__['file.append'](_LOADER_CONF, _LOAD_MODULE.format(mod))
 return set([mod])

def _set_persistent_module ( mod ) : if ( ( not mod ) or ( mod in mod_list ( True ) ) or ( mod not in available ( ) ) ) : return set ( ) __salt__ [ 'file.append' ] ( _LOADER_CONF , _LOAD_MODULE . format ( mod ) ) return set ( [ mod ] )
add module to configuration file to make it persistent .