[Yum] How to use /etc/yum/vars/* ?

Chris Albertson albertson.chris at gmail.com
Mon Sep 13 20:55:25 UTC 2010

In the man page for yum.conf there is a note that reads..

  "As of 3.2.28, any file in /etc/yum/vars is turned into a variable named
   after the filename (or overrides any of the above variables)."

How do I use this?  I'm guessing that maybe I make a file called
/etc/yum/vars/FOOBAR and have it output a string to stdout
 and then inside yum.conf  I can use a macro called $FOOBAR

Is this documented any place other then what I quoted above?
If I figure this out I'll be happy to submit a man page patch.
Chris Albertson
Redondo Beach, California

More information about the Yum mailing list