Package yum :: Module config :: Class YumConf
[hide private]
[frames] | no frames]

Class YumConf

source code


Configuration option definitions for yum.conf's [main] section.

Note: see also options inherited from StartupConf

Instance Methods [hide private]
 
dump(self) source code

Inherited from BaseConfig: __init__, __str__, getConfigOption, iteritems, iterkeys, populate, setConfigOption, write

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __subclasshook__

Class Methods [hide private]

Inherited from BaseConfig: isoption, optionobj

Class Variables [hide private]
  retries = PositiveIntOption(10, names_of_0= ["<forever>"])
  recent = IntOption(7, range_min= 0)
  cachedir = Option('/var/cache/yum')
  keepcache = BoolOption(True)
  logfile = Option('/var/log/yum.log')
  reposdir = ListOption(['/etc/yum/repos.d', '/etc/yum.repos.d'])
  commands = ListOption()
  exclude = ListOption()
  failovermethod = Option('roundrobin')
  proxy = UrlOption(schemes= ('http', 'ftp', 'https'), allow_non...
  proxy_username = Option()
  proxy_password = Option()
  installonlypkgs = ListOption(['kernel', 'kernel-bigmem', 'kern...
  installonly_limit = PositiveIntOption(0, range_min= 2, names_o...
  kernelpkgnames = ListOption(['kernel', 'kernel-smp', 'kernel-e...
  exactarchlist = ListOption(['kernel', 'kernel-smp', 'kernel-hu...
  tsflags = ListOption()
  assumeyes = BoolOption(False)
  alwaysprompt = BoolOption(True)
  exactarch = BoolOption(True)
  tolerant = BoolOption(True)
  diskspacecheck = BoolOption(True)
  overwrite_groups = BoolOption(False)
  keepalive = BoolOption(True)
  gpgcheck = BoolOption(__pkgs_gpgcheck_default__)
  repo_gpgcheck = BoolOption(__repo_gpgcheck_default__)
  obsoletes = BoolOption(True)
  showdupesfromrepos = BoolOption(False)
  enabled = BoolOption(True)
  enablegroups = BoolOption(True)
  enable_group_conditionals = BoolOption(True)
  group_package_types = ListOption(['mandatory', 'default'])
  timeout = FloatOption(30.0)
  bandwidth = BytesOption(0)
  throttle = ThrottleOption(0)
  http_caching = SelectionOption('all', ('none', 'packages', 'al...
  metadata_expire = SecondsOption(60* 60* 6)
  mirrorlist_expire = SecondsOption(60* 60* 24)
  rpm_check_debug = BoolOption(True)
  disable_excludes = ListOption()
  skip_broken = BoolOption(False)
  mdpolicy = ListOption(['group:primary'])
  multilib_policy = SelectionOption('all', ('best', 'all'))
  bugtracker_url = Option('http://yum.baseurl.org/report')
  color = SelectionOption('auto', ('auto', 'never', 'always'), m...
  color_list_installed_older = Option('bold')
  color_list_installed_newer = Option('bold,yellow')
  color_list_installed_reinstall = Option('normal')
  color_list_installed_extra = Option('bold,red')
  color_list_available_upgrade = Option('bold,blue')
  color_list_available_downgrade = Option('dim,cyan')
  color_list_available_reinstall = Option('bold,underline,green')
  color_list_available_install = Option('normal')
  color_update_installed = Option('normal')
  color_update_local = Option('bold')
  color_update_remote = Option('normal')
  color_search_match = Option('bold')
  sslcacert = Option()
  sslverify = BoolOption(True)
  sslclientcert = Option()
  sslclientkey = Option()
  history_record = BoolOption(True)
  history_record_packages = ListOption(['yum', 'rpm'])
  rpmverbosity = Option('info')
  _reposlist = []

Inherited from StartupConf: config_file_path, debuglevel, distroverpkg, errorlevel, gaftonmode, installroot, persistdir, pluginconfpath, pluginpath, plugins, syslog_facility, syslog_ident

Properties [hide private]

Inherited from object: __class__

Class Variable Details [hide private]

proxy

Value:
UrlOption(schemes= ('http', 'ftp', 'https'), allow_none= True)

installonlypkgs

Value:
ListOption(['kernel', 'kernel-bigmem', 'kernel-enterprise', 'kernel-sm\
p', 'kernel-modules', 'kernel-debug', 'kernel-unsupported', 'kernel-so\
urce', 'kernel-devel', 'kernel-PAE', 'kernel-PAE-debug'])

installonly_limit

Value:
PositiveIntOption(0, range_min= 2, names_of_0= ["0", "<off>"])

kernelpkgnames

Value:
ListOption(['kernel', 'kernel-smp', 'kernel-enterprise', 'kernel-bigme\
m', 'kernel-BOOT', 'kernel-PAE', 'kernel-PAE-debug'])

exactarchlist

Value:
ListOption(['kernel', 'kernel-smp', 'kernel-hugemem', 'kernel-enterpri\
se', 'kernel-bigmem', 'kernel-devel', 'kernel-PAE', 'kernel-PAE-debug'\
])

http_caching

Value:
SelectionOption('all', ('none', 'packages', 'all'))

color

Value:
SelectionOption('auto', ('auto', 'never', 'always'), mapper= {'on': 'a\
lways', 'yes': 'always', '1': 'always', 'true': 'always', 'off': 'neve\
r', 'no': 'never', '0': 'never', 'false': 'never', 'tty': 'auto', 'if-\
tty': 'auto'})