diff options
author | Sol Jerome <solj@ices.utexas.edu> | 2010-06-22 17:30:07 +0000 |
---|---|---|
committer | Sol Jerome <sol.jerome@gmail.com> | 2010-06-22 12:30:16 -0500 |
commit | 224025473e2f37c684c80556fdeb8102ddaf3b13 (patch) | |
tree | 9f826c611860e76dabc732452a0160b0341a0160 /src/lib/Client/Tools/YUMng.py | |
parent | 149301969d2256c36603aa6074383a4c5211610b (diff) | |
download | bcfg2-224025473e2f37c684c80556fdeb8102ddaf3b13.tar.gz bcfg2-224025473e2f37c684c80556fdeb8102ddaf3b13.tar.bz2 bcfg2-224025473e2f37c684c80556fdeb8102ddaf3b13.zip |
Add the ability to specify important entries via info/info.xml
We currently have 'important' entries specified only inside the code for
various client tools. This provides no room for growing that list
outside of adding things to the code itself. With this change, users can
now specify important entries via an additional attribute in their
info.xml files.
Signed-off-by: Sol Jerome <sol.jerome@gmail.com>
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5957 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Client/Tools/YUMng.py')
-rw-r--r-- | src/lib/Client/Tools/YUMng.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/Client/Tools/YUMng.py b/src/lib/Client/Tools/YUMng.py index de5b221c1..a203b6961 100644 --- a/src/lib/Client/Tools/YUMng.py +++ b/src/lib/Client/Tools/YUMng.py @@ -75,7 +75,8 @@ class YUMng(Bcfg2.Client.Tools.RPMng.RPMng): def __init__(self, logger, setup, config): Bcfg2.Client.Tools.RPMng.RPMng.__init__(self, logger, setup, config) - self.__important__ = [entry.get('name') for struct in config \ + self.__important__ = self.__important__ + \ + [entry.get('name') for struct in config \ for entry in struct \ if entry.tag in ['Path', 'ConfigFile'] and \ (entry.get('name').startswith('/etc/yum.d') \ |