Displaying 20 results from an estimated 900 matches similar to: "Puppet newbie: using defines"
2007 Jul 09
3
how to make a package depend on 2 or more other packages
Hi,
when using puppet to install extra rpm packages on centos: how can I
make a package depend on 2 or more other packages.
e.g. this works:
class centos4_extra_packages {
package { "test1" :
ensure => installed,
require => package["prereq"]
}
}
but I can''t figure out how to make test1 require
2010 Jul 28
2
Does anybody use idmap_adex?
Hi,
Actually I am using the Backend Idmap_AD. I thought Idmap_adex is still under heavy development.
Tobias
Mit freundlichen Gr??en
Tobias Mucke
LFK-Lenkflugk?rpersysteme GmbH
Serverpool, FCI4
Landshuter Stra?e 26, 85716 Unterschlei?heim, GERMANY
Phone: +49 89 3179 8438
Fax: +49 89 3179 8927
Mobile: +49 170 635 3830
E-Mail: tobias.mucke at mbda-systems.de
http://www.mbda.net
Chairman of
2010 Jul 30
1
getent acting unreliable with idmap_ad
I'm trying to get my linux boxes to authenticate to AD using winbind. I
need to get my uid's from AD so I'm using idmap_ad.
I got to the point where 'getent passwd' shows me the list of unix users
from AD with all correct details, however when I do 'getent passwd
<username>' for any username from the list returned by 'getent passwd' I
get an empty reply
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 {
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
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 22
0
[Fwd: Re: Puppet newbie: using defines]
On Mon, 2007-05-21 at 13:39 -0400, Luke Kanies wrote:
> On May 21, 2007, at 10:27 AM, Nico De Ranter wrote:
>
> > Now I''m trying to do something a bit more complex using
> > defines but nothing seems to happen anymore.
>
> I think your problem is that you''ve created a define with the same
> name as a builtin type[1]. Try renaming your definition
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
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 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
2005 Nov 10
0
net ads join problems
Good morning all:
When I do a net ads join from FC4 I get the following output and I'm not
quite sure what to make of it. Also, after I do a kinit, net ads join
and smb restart all my windows clients can connect fine. After I reboot
the server, the windows clients can not connect until I do another kinit
and net ads join. What am I missing?
---> smb.conf file
[global]
netbios name
2005 Nov 10
2
net ads join
Good morning all:
When I do a net ads join from FC4 I get the following output and I'm not
quite sure what to make of it. Also, after I do a kinit, net ads join
and smb restart all my windows clients can connect fine. After I reboot
the server, the windows clients can not connect until I do another kinit
and net ads join. What am I missing?
---> smb.conf file
[global]
netbios name
2006 Aug 24
2
Can't net ads join
Trying to do a net ads join, which has always worked fine in the past is
now throwing the below errors when I try and rejoin the domain after a
Windows server reboot.
What am I doing wrong?
:b!
[2006/08/23 19:45:00, 0] libads/ldap.c:ads_add_machine_acct(1405)
ads_add_machine_acct: Host account for mustang already exists -
modifying old account
[2006/08/23 19:45:00, 0]
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
2006 Aug 24
1
RE: net ads join
I'm also seeing the following in my syslog when I try and map from a
Windows machine to one of my samba shares:
Aug 24 07:35:49 mustang smbd[19059]: [2006/08/24 07:35:49, 0]
lib/util_sock.c:write_data(562)
Aug 24 07:35:49 mustang smbd[19059]: write_data: write failure in
writing to client 10.0.0.14. Error Connection reset by peer
Aug 24 07:35:49 mustang smbd[19059]: [2006/08/24
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 {
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