diff options
author | Tim Laszlo <tim.laszlo@gmail.com> | 2010-06-14 19:21:51 +0000 |
---|---|---|
committer | Sol Jerome <sol.jerome@gmail.com> | 2010-06-14 15:06:12 -0500 |
commit | 7e9560f68cef84ca646f9b693e759badabf1c64b (patch) | |
tree | 095f3e7afa7faf3a14211346d4d77b8bd604dae8 /src/lib/Client/Tools/YUMng.py | |
parent | 1880631fd4a14f715252109d393fa6293c2cb172 (diff) | |
download | bcfg2-7e9560f68cef84ca646f9b693e759badabf1c64b.tar.gz bcfg2-7e9560f68cef84ca646f9b693e759badabf1c64b.tar.bz2 bcfg2-7e9560f68cef84ca646f9b693e759badabf1c64b.zip |
Add /etc/yum.repos.d to the important list for YUMng
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5929 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 2078a5126..e3a1e8a70 100644 --- a/src/lib/Client/Tools/YUMng.py +++ b/src/lib/Client/Tools/YUMng.py @@ -78,7 +78,8 @@ class YUMng(Bcfg2.Client.Tools.RPMng.RPMng): 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') \ + (entry.get('name').startswith('/etc/yum.d') \ + or entry.get('name').startswith('/etc/yum.repos.d')) \ or entry.get('name') == '/etc/yum.conf'] self.yum_avail = dict() self.yum_installed = dict() |