search for: yumrepo

Displaying 20 results from an estimated 74 matches for "yumrepo".

2007 Jul 17
1
Yumrepo''s subscribe ran before package require Yumrepo?
I am trying to set a "subscribe" for a Yumrepo object so that an Exec "yum clean all" is ran immediately after a Yumrepo is changed. With the following setup, I am not seeing the "subscribe" fire off until after Packages that have a require pointing to the Yumrepo["custom"] are attempted to be installed. Is in rig...
2010 Oct 25
2
Multiple errors on puppet client runs: "A section with name updates already exists"
Hello, I''m currently running Puppet 0.25.5-1 on CentOS 5.5. Everything has been going swimmingly until a couple of weeks ago, when I began receiving errors on one of my nodes. The node in question is also my puppetmaster, but the errors seem client-related. The errors are: err: //yumrepos::centosbase/Yumrepo[addons]: Failed to retrieve current state of resource: A section with name updates already exists err: //yumrepos::epel/Yumrepo[epel]: Failed to retrieve current state of resource: A section with name updates already exists err: //yumrepos::centosbase/Yumrepo[base]: Failed to r...
2007 Apr 26
6
Struggling to define multiple yum/rug repositories
...sled10-i586: {Package{ provider => rug}} sled10-i586: {Package{ provider => yum[sled10-i586] }} sles10: {Package{ provider => yum["sles10-i586"] }} sles9-i586: {Package{ provider => yum["sles9-i586"] }} } $server = "puppet.example.com" class yumrepos-suse { yumrepo { sles9-i586: descr => ''SuSE Linux Enterprise Server 9'', enabled => 1, gpgcheck => 0, baseurl => "http://$server/sles9/" } yumrepo { sles10-i586: descr => ''SuSE Linux Enterprise Server 10'', e...
2009 Dec 04
3
yumrepo is missing name attribute in repo files using puppet-0.24.8-4.el5
I''m using puppet-0.24.8-4.el5 on CentOS 5.4. My problem is yumrepo isn''t writing the "name=" field to the repository files which causes yum to complain with the error: Repository ''local-CentOS-5.4-x86_64'' is missing name in configuration, using id I get this behavior on all of my yumrepo definitions. One of them looks like t...
2007 Jan 22
3
Resource dependencies
For example, I have a bunch of package resources defined for packages which are contained in the yum repositories defined by the yumrepo resources. If the package is installed first, then it will fail because the repository is not available. I know about "require". But I would prefer not to add a direct dependency on the source repository. Is there an easier way to do this? What would be especially nice to say that all...
2007 Apr 12
5
Suse documentation
Hi, I''ve writen a draft describing puppet on SuSE/opensuse linux. http://www.reductivelabs.com/trac/puppet/wiki/PuppetSuSE Any feedback is welcome. Martin
2007 May 21
2
Puppet newbie: using defines
...nothing seems to happen anymore. Config files involved: ###### site.pp filebucket { # use a filebucket on the puppet server main: server => puppet } import "definitions/*" import "classes/*" import "templates" ###### templates.pp node basenode { include yumrepos } ###### classes/yumrepos.pp class yumrepos { yumrepo { dag: } } ###### definitions/yumrepo.pp define yumrepo () { file { "/etc/yum.repos.d/$name.repo": mode => 644, owner => root, group => root, backup => true, recurese => false, ensure =...
2006 Sep 21
30
Using multiple values for source, for platform/arch/host configs
Hi, in an attempt to simplify my configuration, and from a suggestion on IRC, I was thinking of using multiple values for file { source => [] }. Was just currious if anyone had any comments on this. Basically, I setup my file-server to use: <snip> [private] path /var/lib/puppet/files/private/%H allow * [shared] path /var/lib/puppet/files/shared allow *
2011 Nov 01
4
2.7.6 yumrepo not working
Just upgraded to 2.7.6 and the yumrepo type does not write out our yum configs correctly, anyone experiencing this? Documentation hasn''t changed from what I can tell for this type. # facter -version 1.6.2 # puppetd --version 2.7.6 # facter architecture x86_64 # facter operatingsystem Fedora # facter operatingsystemrelease 14...
2012 Jan 23
4
Another Discovered/Undocumented feature of yumrepo - and a workaround
I was working with yumrepo, defining new entried and seeing them appear in /etc/yum.repos.d After considerable tinkering, and with the sad discovery that resource { ''yumrepo'': purge => true } does not work, I moved my working /etc/yum.repos.d to /etc/yum.repos.d-old and re-ran my catalog. To my surpri...
2013 May 25
1
Error: Could not find dependency Yumrepo[puppetlabs-products] for Package[puppet]
...3.2.1-1.el5 puppetlabs-products [root@oel-puppet-master modules]# ------------------------------------------------------------------------------------------- package { "puppet": ensure => latest, require => [ Yumrepo["puppetlabs-products"], Package["facter"] ], notify => Service["puppet"], } package { "facter": ensure => latest, require => Yumrepo["puppetlabs-products"],...
2006 Feb 14
2
httpd permissions question
...nd the files are stored in that user's home directory. I'm trying to make that directory available with httpd. The user owns all the files and subdirs and the rights on all the files is: -rw-r--r-- I added this to the bottom of httpd.conf and restarted httpd. Alias /repomirror /home/user1/YumRepo <Directory /home/user1/YumRepo> Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny #Allow from 172.16 127.0.0.1 #Deny from all </Directory> When I try to access http://servername/repomirror I get a 403 permission denied. What permissions need to be se...
2011 Mar 24
6
run stages in puppet 2.6
...ng with: ----------------------------------------------------------------- node ''chromews21.acadaca.net'' inherits webserver { ## <-- instead what I attempt to do is setup the stage relationships here class {"centos": stage => os} class {"yumrepos": stage => repos} class {"baseapps": stage => main} class {"basefiles": stage => main} class {"apache": stage => last} } ------------------------------------------------------------------------------------------- So obviousl...
2011 Mar 16
3
only one puppet client fails with yum
...minute => "0", hour => ''*'' } tidy { "/etc/yum.repos.d/CentOS-Media.repo": age => ''0s'', } tidy { "/etc/yum.repos.d/CentOS.repo": age => ''0s'', } yumrepo { ''epel-testing'': mirrorlist => ''http://mirrors.fedoraproject.org/mirrorlist?repo=testing-epel5&arch=$basearch'', enabled => ''0'', failovermethod => ''priority'', gpgcheck => ''1'',...
2007 Jan 04
4
yumrepo err
...See the relevant info below. This is obviously a problem when repo definitions include multi-line baseurl''s. Am i missing something or is this a bug to be logged? In addition to this i assume then that it is not possible to set multiple ''baseurl'' when defining a new yumrepo with puppet? PS. Defining the "Package { provider => yum }" as a default for CentOS doesn''t appear to have any affect, setting it to ''rpm'' doesn''t change the clients behavior, it still uses yum. Any help would be appreciated. Your truly, Ben -...
2008 Feb 22
12
Yumrepo and managing the contents of /etc/yum.repos.d directory...
Puppet version: 0.22.4 facterversion => 1.3.7 rubyversion => 1.8.5 Given the following: file { yum_repo_d: path => "/etc/yum.repos.d", ensure => directory, recurse => true, purge => true } yumrepo { pkg_repo: descr => "Packages Repository", enabled => 1, baseurl => "http://Some/path/", gpgcheck => 0, require => File[yum_repo_d] } Every time I run pcheck now, the file is deleted and recreated and pcheck gripes about the file being...
2010 Jul 29
5
Multiple repositories under one file
Hello All, In all the examples that I see you configure one repo per file; i.e: yumrepo { "testing.com-repo": baseurl => "http://repos.testing.com/fedora/$lsbdistrelease/", descr => "Testing.com''s YUM repository", enabled => 1, gpgcheck => 0, } But how do I specify multiple entries to the same file?. For instance, I just one to have...
2008 Dec 12
1
possible bug in yumrepo type ?
Hello, I used to have something like this: yumrepo { "foobar": [...] gpgkey => ["file:///etc/pki/rpm-gpg/key1", "file:///etc/pki/rpm-gpg/key2"], } Which as expected used to generate files looking like this: [foobar] gpgkey=file:///etc/pki/rpm-gpg/key1 file:///etc/pki/rpm-gpg/key2 It appears this no longe...
2012 May 15
4
enabling a yum repository
I have a class that pulls in some yum repositories. One of the yum repositories is disabled, but on one host I''d like to enable it. i.e. I''d like to do something like this: class { ''myyumrepos'': } yumrepo { ''EPEL'': enabled => 1, } What''s the best way to do this? I am using an ENC. -- Biltong biltong@fastmail.fm -- http://www.fastmail.fm - Email service worth paying for. Try it for free -- You received this message because you are subscri...
2020 Aug 23
2
Mock config error
Hi, I am trying to create a mock configuration file that points to my local dnf repo. I have the following in the mock config template: [local-repo] name=my-Local baseurl=http://yumrepo.example.com/yum-repository/local/centos/8/x86_64/ failovermethod=priority skip_if_unavailable=False When I try to run mock I get the following error: (vgeppetto3 pts18) $ mock -v -r epel-8-x86_64 /home/mock/rpmbuild/SRPMS/centos-release-8.2-2.2004.0.1.el8.1.src.rpm File "<string>&...