Displaying 20 results from an estimated 3000 matches similar to: "Multiple errors on puppet client runs: "A section with name updates already exists""
2007 Apr 26
6
Struggling to define multiple yum/rug repositories
My head hurts from trying to figure this out for the past several hours . . .
I want to determine what provider to use based on a fact (thanks for
the suse version fact btw) but I ain''t gettin it:
What''s wrong? Am I going down the completely wrong path? Is there a better way?
# suse-yum.pp
case $suse_repo_name {
#sled10-i586: {Package{ provider => rug}}
sled10-i586:
2007 May 21
2
Puppet newbie: using defines
Hi folks,
I''m trying to get my feet wet in puppet-land. I''ve successfully
installed a puppetmaster and client and managed to get them to do
something (the sudo file-permission example as explained in the
tutorials). Now I''m trying to do something a bit more complex using
defines but nothing seems to happen anymore.
Config files involved:
###### site.pp
filebucket {
2010 Jul 05
1
Autoloading Capitalized Classes
Why doesn''t puppet autoload modules with capitals in the class names?
Jul 5 09:55:54 s_sys@test01.sjc.xxx.com puppetd[6527]: Could not
retrieve catalog from remote server: Error 400 on SERVER: Could not
find class repo::centOSBase in namespaces repo::common at
/etc/puppet/modules/repo/manifests/common.pp:8 on node
test01.sjc.xxx.com
Change ''centOSBase'' to
2010 Jul 22
3
File /etc/yum.conf does not contain a main section
I just upgraded puppet from 0.25.5 to 0.26, and I''m getting this:
(/Stage[main]/Repo::Livegamer_software_base/Yumrepo[Livegamer-Software-Base])
Could not evaluate: File /etc/yum.conf does not contain a main section
However, my /etc/yum.conf contains this. What''s wrong with that? Is
puppet smoking crack?
[main]
cachedir=/var/cache/yum
keepcache=0
debuglevel=2
2011 Mar 24
6
run stages in puppet 2.6
hello guys,
I am trying to incorporate run stages into my puppet setup. I''ve been
working with this for a few days and I haven''t quite got the hang of
it yet...
When I attempt my puppet run this is the error I see:
------------------------------------------------
[root@chromews21 ~]# puppetd -t
err: Could not retrieve catalog from remote server: Error 400 on
SERVER:
2011 Mar 16
3
only one puppet client fails with yum
hello list..
I am sharing a yum configuration in a class (centos.pp) between two
nodes. But the yum configuration doesn''t apply at all to one node
even tho it does to another identically configured node.
## packages are failing to install via yum on one ec2 aws instance and
another identical ec2 instance works fine
[root@kromep2 ~]# cat /etc/redhat-release
CentOS release 5.5 (Final)
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 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 right to expect that the subscribe on the
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 this:
yumrepo {
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
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 one
2006 Feb 14
2
httpd permissions question
I'm using yum-pull for creating a local yum repo. I have a non-root user
that runs the script and 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
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 surprise, the repo entried were appended to /etc/yum.conf
Long story short:
I
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
==== My manifest ====
yumrepo {
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,
2007 Oct 05
1
Where Can I find Perl-DBD-Sybase RPMs?
It's not in CentosPlus or CentosBase or Rpmforge.
Does anyone know? (Looking for it for Centos 4.4)
Thanks
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
2010 Jul 14
1
Running yum shows errors
Hi
I am getting the following errors when i try to use yum to install the
net-snmp paclages.
[root at sc1 yum.repos.d]# yum install net-snmp
Loaded plugins: fastestmirror
Determining fastest mirrors
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in ?
yummain.user_main(sys.argv[1:], exit_code=True)
File "/usr/share/yum-cli/yummain.py", line 229,
2013 May 25
1
Error: Could not find dependency Yumrepo[puppetlabs-products] for Package[puppet]
I have installed puppet from puppet-labs yum repository on OEL familiy
of Red Hat Enterprise Linux Server release 5.9 (Tikanga)
----------------------------------------------------------------------------
[root@oel-puppet-master modules]# yum list facter
Loaded plugins: rhnplugin, security
This system is not registered with ULN.
You can use up2date --register to register.
ULN support will be
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 *