Displaying 20 results from an estimated 10000 matches similar to: "Group management"
2006 Aug 28
10
Templates and arrays
I''m in the process of documenting templates right now, and I figured
I should see what happens when you use them with arrays:
$ cat ~/bin/test.pp
$values = [this, is, an, array, of, values]
$content = template("/tmp/templates/testing.erb")
file { "/tmp/temtest": content => $content }
$ cat /tmp/templates/testing.erb
<% values.each do |val| %>
I got
2007 Jun 19
11
Fileserver scalability
I just talked to Mike McGrath from Fedora Infrastructure, and he told me
that they are seeing load spikes (not quite performance problems yet,
but definitely a concern) in their setup. As an example, the graph [1]
shows a typical client - the spikes from 16:00 to 8:00 are almost
exclusively puppetd doing its thing.
It seems that the most likely culprit is the fileserver - they serve
500-1500
2007 Sep 08
19
Group changes made over and over?
Hi,
I have several Debian servers with puppet 0.23.2. Part of my
manifest looks like this:
class virt_all_users {
@group { "andy":
ensure => "present",
gid => "1000"
}
@user { "andy":
ensure => "present",
uid => "1000",
2007 Jun 16
7
facter lsb* on Fedora
I just realized that if you don''t have redhat-lsb on your (Fedora 7)
box, all those lsb* facts don''t show up. Should I make redhat-lsb a
requirement for the facter rpm to guard against that ?
David
2007 Aug 01
12
Puppet uses too much RAM memory
Hello,
I have two Vmware images, with 256MB of RAM memory each one, running
puppetmasterd for the server and puppetd for the client. It''s normal
that my puppetmasterd and puppetd occupies almost 10% of RAM memory
each one? They aren''t doing anything especial, just listening on the
ports.
Thanks.
2006 Aug 29
40
Red Hat release info
Hi all,
I''m looking at changing the operatingsystemrelease fact for Red Hat.
Linux currently just uses the kernel release as the operating system
release, but I''ve got a client who wants the release to have both the
specific distro (e.g., AS or EL) and the release (e.g., 3 or 4).
Will this particularly annoy anyone? Anyone want to help make the
release string work on
2007 Feb 22
33
Scaling Puppet 0.22.1 to hunderdes of nodes.
Hi,
My environment is composed of ~250 workstations hitting a single
puppetmaster server, which has been working fairly well up until now.
The most recent change has been a migration of a lot of remote file copy
objects which were previously handled with cfengine.
client side puppetd calls to the puppetmaster.getconfig method are
taking unreasonably long, on the order of 2-3 minutes. It
2007 Apr 25
17
Multiple swap partitions
I have a machine with two swap partitions (sda2 and sda8). Both will
have none as mount point. When I try to use puppet (using mount type)
for managing fstab I get problems because "name" in both instances
(i.e. mount path) will be "none". How should I fix this within puppet?
Regards
Halvard Moe
2007 Feb 19
22
Puppet''s yum provider does not support versions?
Why doesn''t the yum provider support version, I tried added ensure ->
''ver'' and it barfs up (on clients) with:
<snip>
err: //stan.gbuild.org/any-host/java/Package[j2sdk]/ensure:
change from 1.4.2_12-fcs to 1.4.2_13-fcs failed: Package provider yum
does not support specifying versions at /etc/puppet/manifests/classes/
java.pp:13
</snip>
2007 Apr 19
15
Puppet rpm packages for RHEL4 x86_64?
Just wondering if anyone has built (or found) Puppet rpm packages for
RHEL4 x86_64 version.
James
*********************************************************************************
Important Note
This email (including any attachments) contains information which is
confidential and may be subject to legal privilege. If you are not
the intended recipient you must not use, distribute or copy this
2007 Feb 12
9
New rpms for lockdir problem
I just built new puppet rpm''s for Fedora (puppet-0.22.1-2) that fix the
lockdir problem that many of you have encountered. The packages should
show up on a mirror near you very soon.
Unfortunately, I am having trouble getting to my buildsystem that I use
for the RHEL versions of the RPM; I made the source rpm available on my
people page[1] If you need the RPM for RHEL, you need to
2007 Apr 03
6
How do I use "mount"?
Ok, so I''m obviously doing something wrong here. This is running
puppet 0.22.2 on a centos 4 update 4 box.
When I try running this test -
mount { bigdisk:
ensure => mounted,
device => ''bigserver:/bigdisk'',
fstype => nfs,
name => ''/bigdisk'',
dump => "0",
pass => "0",
options =>
2006 Aug 27
3
"Overruling" files from different darfts
On Aug 27, 2006, at 8:56 AM, Thorsten Sandfuchs wrote:
> hio,
> I''m trying to build a "master"-directory (general) with some base-
> files to
> spread, and a host/class-based directory-structure to override the
> defaults,
> if necessary. If a file only is present in the general-section, it
> shouldn''t
> harm the setup, if it''s only
2007 May 20
3
ruby-shadow problems for 0.22.4 on Debian/Ubuntu AMD64
I thought I''d put this out there for anyone to save anyone who''s running
0.22.4 on AMD64 hosts a whole world of hurt.
Basically, the libshadow-ruby1.8 package that Puppet (as of 0.22.4) relies
on is broken for AMD64 in both Debian (Sarge+) and Ubuntu (all releases).
The problem is basically just some non-portable code. I''ve reported the bug
into Debian with a patch, so
2007 Mar 29
7
Refering to node name (or part of node name) in a class / function
Hi,
I was wondering if it is possible to gain access to the nodename as a
variable, in order to refer to the name or part of it inside a class.
Eg: I have a lot of sites that essentially have the same configuration,
except they are in different domains and have different requirements for
things like resolv.conf. I can manage this by creating a node definition
for each node and specifying some
2024 May 14
1
Samba DC and alternate sudo login
On 14-05-2024 15:11, Gregory Sloop via samba wrote:
>
>> On Mon, 13 May 2024 17:10:20 -0700
>> Gregory Sloop via samba <samba at lists.samba.org> wrote:
>>> I feel like this should be super easy, and that I must be doing
>>> something dumb, but I need to create another sudo user for the VM's
>>> the DC's are running on.
>>> I've
2008 Jun 06
8
useradd provider not working?
I have this config:
# BL00070 - Disable NFS
service {["nfs","nfslock","netfs","portmap"]:
ensure => stopped,
enable => false,
}
user {"rpc": ensure => absent, provider => "useradd" }
user {"rpcuser": ensure => absent, provider => "useradd" }
file
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 May 10
3
Bug or misconfiguration? Trying to add local user in NIS environment
Hello -
Is the following a configuration issue (which is usually the case) or a bug?
I''m trying to ensure a local user is present in a NIS environment
using the following recipie:
class dduck_add {
user { "dduckl":
ensure => present,
uid => 60030,
gid => "100",
groups =>
2007 May 02
6
templating problems - rhel4, 0.22.3
Using RPMs for el4 (0.22.3). Been trying to get templates to work, but
have found problems.
I created a very small template, and this works well, variables
substitute, great.
I tried a much larger one (an httpd.conf), and puppetmaster crashed.
the remote puppetd first reported an SSL certificate problem, then on
seconds run, "cannot connect to server."
Hacked the template down to