search for: yumrepository

Displaying 3 results from an estimated 3 matches for "yumrepository".

Did you mean: yum_repository
2010 May 03
1
Simple issue with templates.
...tory I have placed a template.erb file, however no matter how I refer to the path in my init.pp, I cannot get it to include. I''ve even set "templatedir" to /usr/share/puppet/modules (the module dir) in /etc/puppet/puppet.conf but I keep getting the following error: debug: Scope(Yumrepository[mcollective]): Retrieving template puppet:///yumrepositories/templates/repo.template.rb err: Puppet::Module::InvalidName at /usr/share/puppet/modules/yumrepositories/manifests/init.pp:22 The relevant file stanza is: file { "/etc/yum.repos.d/$title.repo": owner...
2018 Feb 14
0
CentOS 6: Yum downloadonly changes local source repositories (and CentOS 7)
...r what its worth, I managed to get around the problem with a small patch on yum itself: --- ORIG/usr/lib/python2.6/site-packages/yum/yumRepo.py 2017-03-22 05:32:26.000000000 +0000 +++ NEW/usr/lib/python2.6/site-packages/yum/yumRepo.py 2018-02-14 09:14:04.879902463 +0000 @@ -863,6 +863,7 @@ class YumRepository(Repository, config.R text=text, cache=cache, size=package.size, + copy_local=1, ) def getHeader(self, package, checkfunc = None, reget = 'simple', Although newer ver...
2007 Nov 15
1
Yum update fails
...File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 153, in run func(conduitcls(self, self.base, conf, **kwargs)) File "/usr/lib/yum-plugins/fastestmirror.py", line 78, in postreposetup_hook repo.set('urls', repomirrors[str(repo)]) AttributeError: 'YumRepository' object has no attribute 'set' Any suggestions, Google has not been my friend today. Thanks, Aron