diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2012-08-03 14:00:39 -0400 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2012-08-03 14:03:50 -0400 |
commit | 217718d07643fcc36c258a99fdd8ea84fc5f3eea (patch) | |
tree | b8ed8bb189f553e09b6483171b1d3eca1cf0aa2e /src/lib/Bcfg2/Server/Plugins | |
parent | 21b4683ae7044a72b7b369a49c9baefcca542a5c (diff) | |
download | bcfg2-217718d07643fcc36c258a99fdd8ea84fc5f3eea.tar.gz bcfg2-217718d07643fcc36c258a99fdd8ea84fc5f3eea.tar.bz2 bcfg2-217718d07643fcc36c258a99fdd8ea84fc5f3eea.zip |
fixed location of yum configs to go under Packages cache
Diffstat (limited to 'src/lib/Bcfg2/Server/Plugins')
-rw-r--r-- | src/lib/Bcfg2/Server/Plugins/Packages/Yum.py | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/Bcfg2/Server/Plugins/Packages/Yum.py b/src/lib/Bcfg2/Server/Plugins/Packages/Yum.py index 4ae730935..eeff0c6eb 100644 --- a/src/lib/Bcfg2/Server/Plugins/Packages/Yum.py +++ b/src/lib/Bcfg2/Server/Plugins/Packages/Yum.py @@ -96,11 +96,7 @@ class YumCollection(Collection): if not os.path.exists(self.cachefile): os.mkdir(self.cachefile) - self.configdir = os.path.join(self.basepath, "yum") - if not os.path.exists(self.configdir): - os.mkdir(self.configdir) - self.cfgfile = os.path.join(self.configdir, - "%s-yum.conf" % self.cachekey) + self.cfgfile = os.path.join(self.cachefile, "yum.conf") self.write_config() if has_pulp and self.has_pulp_sources: _setup_pulp(self.setup) |