diff options
author | Narayan Desai <desai@mcs.anl.gov> | 2010-04-08 15:47:25 +0000 |
---|---|---|
committer | Sol Jerome <solj@ices.utexas.edu> | 2010-04-08 10:58:56 -0500 |
commit | fe05b7425ccfec3526a3bbe24c6b8726c9f86357 (patch) | |
tree | 16bf8e448f8cda83d9159e4bba22e42c91ce7a30 /src/lib/Client | |
parent | ca8a53a3c98f0e124106cdd29792059272c191ee (diff) | |
download | bcfg2-fe05b7425ccfec3526a3bbe24c6b8726c9f86357.tar.gz bcfg2-fe05b7425ccfec3526a3bbe24c6b8726c9f86357.tar.bz2 bcfg2-fe05b7425ccfec3526a3bbe24c6b8726c9f86357.zip |
YUMng: preinstall /etc/yum.d/*
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@5808 ce84e21b-d406-0410-9b95-82705330c041
Diffstat (limited to 'src/lib/Client')
-rw-r--r-- | src/lib/Client/Tools/YUMng.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/Client/Tools/YUMng.py b/src/lib/Client/Tools/YUMng.py index 62f680caf..0b811a75a 100644 --- a/src/lib/Client/Tools/YUMng.py +++ b/src/lib/Client/Tools/YUMng.py @@ -73,6 +73,9 @@ 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__ = [e.get('name') for struct in config for entry in struct \ + if entry.tag in ['Path', 'ConfigFile'] and \ + e.get('name').startswith('/etc/yum.d') or e.get('name') == '/etc/yum.conf'] self.yum_avail = dict() self.yum_installed = dict() self.yb = yum.YumBase() |