Package up2date_client :: Module pmPlugin
[hide private]
[frames] | no frames]

Module pmPlugin

source code

Functions [hide private]
 
pluginEnable()
Enables plugin, may throw IOError
source code
 
PluginPackagePresent()
Returns positive number if plugin package is installed, otherwise it return 0
source code
 
PluginConfPresent()
Returns true if PM_PLUGIN_CONF is presented
source code
 
createDefaultPluginConf()
Create file PM_PLUGIN_CONF, with default values
source code
 
PluginEnabled()
Returns True if plugin is enabled Can thrown IOError exception.
source code
 
enablePlugin()
enable plugin by setting enabled=1 in file PM_PLUGIN_CONF Can thrown IOError exception.
source code
Variables [hide private]
  PM_PLUGIN_CONF = '/etc/yum/pluginconf.d/rhnplugin.conf'
  PM_PLUGIN_NAME = 'yum-rhn-plugin'
  PM_NAME = 'yum'
  __package__ = 'up2date_client'