Displaying 20 results from an estimated 1000 matches similar to: "Another Discovered/Undocumented feature of yumrepo - and a workaround"
2012 Nov 01
7
Install RPM package via puppet
I am trying to get a package (iftop) installed on a test node using puppet
but I can''t get it to install. This seems like it should be simple, but I
can''t figure out what I am missing. Have done a lot of searching for
similar problems and the answers I found seem to be vague in the details
and explanation.
I have the package added to an internal yum repo. OS is Centos 5.4.
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 {
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 {
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
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,
2010 Sep 28
15
YUMREPO { productname => PowerEdge 2650}
Hello All,
How do I specify a variable that has a space in it? I''m trying
to setup a yum repo that has two different baseurl''s based on the
product name ($productname). Default goes one way, but if the product
is "PowerEdge 2650" then is a different URL. The thing is, that is
only picking up the default. How should I specify the value with the
space in the
2010 Feb 11
14
vmwaretools
hi, i am trying to run /usr/bin/vmware-config-tools.pl -d, but i was
end with exec timeout. I cannot find any think on google. Have anyone
experience with this?
It works, when I run it normally from shell.
this is my exec resource.
{ "vmwaretools_config":
subscribe => [ Package["VMwareTools"] ],
refreshonly => true,
path =>
2012 Mar 16
1
Change in behavior of update.views()?
I haven't seen this cryptic warning before:
> update.views('Robust')
Warning message:
In update.views("Robust") :
The following packages are not available: covRobust, distr, FRB, MASS, mblm, multinomRob, mvoutlier, quantreg, RandVar, rgam, RobAStBase, robfilter, RobLox, RobRex, robust, RobustAFT, robustbase, ROptEst, ROptRegTS, rrcov, sandwich, wle
>
2002 Jan 24
3
Best way to check/assert a certain version of or a package
When loading a package with library(APkg) or require(APkg) I would like to
make sure that (1) the correct version of [R] is installed. If not an
informative error message should be given. I would also like to make sure
that (2) another required package which is loaded from within the APkg
package (by require(OtherPkg)) is of a certain version or later.
First of all, I believe that the check
2013 Feb 17
1
Error on installation of Ruby On Rails on QNAP TS809U-RP [Linux]
I am not sure where I should even begin troubleshooting this. I know a
little bit about Linux and am comfortable editing files and running
commands however definitely not a Linux guru. I have ipkg already installed
on the QNAP. I know absolutely nothing about ruby on rails. Thanks for any
help.
For those that are not familiar with a QNAP, ipkg is the same as apt-get or
yum in some Linux
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 longer works with 0.24.6. I''m pretty sure it
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 Jan 04
4
yumrepo err
I am just starting with puppet to replace a ''homegrown'' config
distribution system and it is looking very promising, i will be playing
with the templating next.
I have run into an error when attempting to disable the shipped repo''s
with CentOS 4.4. See the relevant info below.
This is obviously a problem when repo definitions include multi-line
baseurl''s.
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
2009 May 30
1
dovecot with MYSQL on Synology NAS
hello list,
under my table I have a NAS station, the Synology DS-207+
there`s a linux with ipkg.
the dovocot fromo ipkg didnt have mysql support.
compiling seems to be also difficult, because of configure cant find libmysqlclient.
experts, what to do for getting mysql support in dovecot?
best regards
hkwwg
--
Nur bis 31.05.: GMX FreeDSL Komplettanschluss mit DSL 6.000 Flatrate und
2008 Aug 21
1
YumRepo Warning: not using ftp, http[s], or file for repos, skipping - 5 is not a valid release or hasnt been released yet
Hi all
Does anyone know what causes this error?
I have setup a local CentOS repository, with mrepo, and can succesfully use
it for updates & installation of just about anything. Yet, this error comes
up.
Here's my /etc/yum.conf:
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
[base-local]
name=CentOS-$releasever - Base
#mirrorlist=
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 *
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
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