[Puppet Users] Re: puppetrun failing with Error 403?

2010-08-23 Thread matonb
Didn't help unfortunaltely. Still getting the same error(s)! On Aug 20, 4:07 pm, Patrick wrote: > On Aug 20, 2010, at 6:05 AM, matonb wrote: > > > I'm trying to push client configurations from the puppetmaster instead > > of having scheduled runs on each client. > > I think puppetrun is what I'

Re: [Puppet Users] Re: puppetrun failing with Error 403?

2010-08-23 Thread Patrick
Here are a couple more things: What version is your client? What version is your server? Make sure you're running puppetrun as root. Make sure that running "puppetd --test --verbose" as root on the client actually works. On Aug 23, 2010, at 12:53 AM, matonb wrote: > > Didn't help unfortunaltely

[Puppet Users] Adding User

2010-08-23 Thread parag(PK)
Hi, I am trying to add multiple users onto my client, using array. My code snippet is like this : node example_node { $arr=["abc","xyz",] user{$arr: ensure => present, gid => root, home => "/home/$arr", shell => "/bin/bash",

[Puppet Users] Re: puppetrun failing with Error 403?

2010-08-23 Thread matonb
Hi Patrick, The client and server are both version 2.6.0 I am running puppetrun as root on the puppet master server. And yes, a test run completes successfully Thanks for your help, Brett On Aug 23, 9:31 am, Patrick wrote: > Here are a couple more things: > What version is your clien

Re: [Puppet Users] Neverending Scope Issues

2010-08-23 Thread Jesús Couto
Not an expert at all but... - I would try to get the instances of a same application done using definitions, not classes. - extlookup would be a "a file include function" that would work (and I think it would work nicely with definitions, but no direct experience) - Wouldnt it be more logical to i

Re: [Puppet Users] Adding User

2010-08-23 Thread Aurelien Degremont
parag(PK) a écrit : Hi, I am trying to add multiple users onto my client, using array. My code snippet is like this : node example_node { $arr=["abc","xyz",] user{$arr: ensure => present, gid => root, home => "/home/$arr", shell

Re: [Puppet Users] Re: How to change the node's class or groups

2010-08-23 Thread Igal Koshevoy
On Wed, Aug 18, 2010 at 10:47 PM, Timo Seven wrote: > > I install puppet version 2.6 and puppet dashboard 1.0.3. > > When I change one node's class or groups, it is invalid。 I also can > add new class and groups. But no nodes can be in these class or > groups. > > So I insert a node in a class und

Re: [Puppet Users] Adding User

2010-08-23 Thread Craig Dunn
On Mon, Aug 23, 2010 at 9:47 AM, parag(PK) wrote: > Hi, > > I am trying to add multiple users onto my client, using array. > My code snippet is like this : > > node  example_node { > $arr=["abc","xyz",] > >  user{$arr: >                ensure => present, >                gid => root, >            

Re: [Puppet Users] Adding User

2010-08-23 Thread Daniel Pittman
Craig Dunn writes: > On Mon, Aug 23, 2010 at 9:47 AM, parag(PK) wrote: >> >> I am trying to add multiple users onto my client, using array. My code >> snippet is like this : [...] > What about using a definition, something like (untested)... Other than the trivial syntax errors, this is t

[Puppet Users] Tag usage question

2010-08-23 Thread Jean Baptiste FAVRE
Hello, I need to be able to execute some puppet statements at the end of an automatic installation, essentially packages removal. But I don't want it to be executed later. I'm looking on a way to test tag definition into my default node but did not find it. What I would like to do is sort of:

[Puppet Users] Problem with directory serving while testing 2.6.0

2010-08-23 Thread Jean-Baptiste Quenot
Hi there, Just wanted to let you know: I'm currently trying to upgrade Puppet to 2.6 at my company, but file serving appears to have a bug. The following snippet: file { "/var/www/company.com/html": mode => 644, owner => "root", group => "root", recurse =>

Re: [Puppet Users] Problem with directory serving while testing 2.6.0

2010-08-23 Thread mohit chawla
I am on 2.6.0-2 (Debian Squeeze) and file/directory serving (without passenger) is working fine. I do only have simple serving needs though, like : file{"/etc/foo": ensure=>directory, recurse=>true, source=>"puppet:} On Mon, Aug 23, 2010 at 8:14 PM, Jean-Baptiste Quenot wrote: > Hi there, >

[Puppet Users] Augeas Documentation

2010-08-23 Thread Rob McBroom
I've added a ton here, but preserved the original information. Anyone using Augeas should take a look. (I think there's a tendency to do things the hard way because the easy way was previously unknown/undocumented.) http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Augeas The main chan

[Puppet Users] puppet replaces configuration directories when they are symlinks

2010-08-23 Thread Klaus Ethgen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Hello, may I ask how far the very old bug 650 is going? This is a real show stopper for my setting and needs to do some hand work on the server. I have all configuration in a git repository which is checked out on other location than /etc (On a net

[Puppet Users] Realize different user/groups on different systems

2010-08-23 Thread stefan . schulte
Hi Puppetusers, i want to mangage HP-UX, Solaris and SLES with puppet and eventhough the content of configurationfiles is often the same, the owner und groups are different. On SLES I've got root:root most of the times. On Solaris it's often 'root:sys' (sometimes its root:others). On HP-UX

[Puppet Users] Is it possible to use hierarchic LDAP entries for puppet clients and parentnodes?

2010-08-23 Thread puppetplayer
Hi all, i want to create a network and customer parentnodes to store network and/or customer specific attributes only at one place. Therefore i created following puppet client an parentnodes within LDAP: Network specific parentnode: dn: cn=192_168_100_0,ou=profile,dc=zz,dc=example,dc=com obje

Re: [Puppet Users] Adding User

2010-08-23 Thread stefan . schulte
Try home => "/home/${name}" this should give you the name of the current ressource Zitat von "parag(PK)" : Hi, I am trying to add multiple users onto my client, using array. My code snippet is like this : node example_node { $arr=["abc","xyz",] user{$arr: ensure => present

[Puppet Users] Puppetd Cron Not Running

2010-08-23 Thread Franck
So I've decided to use crontab for all my puppet clients rather than the daemon. I've set-up a puppetmaster with seven puppet clients. I'm using the following pattern: class cron { $minute = generate('/usr/bin/env', 'sh', '-c', 'printf $((RANDOM %60+0))') cron { "manual-puppet":

Re: [Puppet Users] Re: puppetrun failing with Error 403?

2010-08-23 Thread Patrick
On Aug 23, 2010, at 2:10 AM, matonb wrote: > Hi Patrick, > > The client and server are both version 2.6.0 > I am running puppetrun as root on the puppet master server. > And yes, a test run completes successfully > > Thanks for your help, > Brett > Puppet.conf had it's section names

Re: [Puppet Users] Realize different user/groups on different systems

2010-08-23 Thread Darren Chamberlain
* Stefan Schulte [2010/08/23 10:56]: > Maybe the best approach is to have a definition that will figure > out the right owner and group by looking at the opertingsystem and > the path of the file (like 'all files under /etc/ should have > root:sys under solaris und bin:bin under HP-UX). I solved

Re: [Puppet Users] Problem with directory serving while testing 2.6.0

2010-08-23 Thread James Turnbull
Jean-Baptiste Quenot wrote: > Hi there, > > Just wanted to let you know: I'm currently trying to upgrade Puppet > to 2.6 at my company, but file serving appears to have a bug. The > following snippet: > This is fixed in the forthcoming 2.6.1 release. Regards James Turnbull -- Puppet Labs -

Re: [Puppet Users] Is it possible to use hierarchic LDAP entries for puppet clients and parentnodes?

2010-08-23 Thread Rob McBroom
I don't know the answer to your question, but as an alternative, I believe you can specify more than one parentnode, so the node's entry could contain parentnode: 192_168_100_0 parentnode: zzbasenode to inherit things from both. -- Rob McBroom The magnitude o

Re: [Puppet Users] Problem with directory serving while testing 2.6.0

2010-08-23 Thread Brice Figureau
On 23/08/10 16:44, Jean-Baptiste Quenot wrote: > Hi there, > > Just wanted to let you know: I'm currently trying to upgrade Puppet > to 2.6 at my company, but file serving appears to have a bug. The > following snippet: [snipped] > err: /Stage[main]/Webserver/File[/var/www/company.com/html]: Fa

[Puppet Users] Re: puppetrun failing with Error 403?

2010-08-23 Thread matonb
I'll give it ago in the morning, fingers crossed :-) On Aug 23, 5:26 pm, Patrick wrote: > On Aug 23, 2010, at 2:10 AM, matonb wrote: > > > Hi Patrick, > > >  The client and server are both version 2.6.0 > >  I am running puppetrun as root on the puppet master server. > >  And yes, a test run comp

Re: [Puppet Users] Re: puppet dashboard gui looks odd from apache2

2010-08-23 Thread Asif Iqbal
On Sat, Aug 21, 2010 at 9:23 PM, Joe McDonagh wrote: > On 08/21/2010 05:45 PM, Rustler wrote: >> This is what I have in my httpd.conf file and apache is running as the >> user puppet - >> >> LoadModule passenger_module /opt/passenger-2.2.15/ext/apache2/ >> mod_passenger.so >> PassengerRoot /opt/pa

Re: [Puppet Users] Puppetd Cron Not Running

2010-08-23 Thread Brandon Evans
On 8/23/10 9:15 AM, Franck wrote: So I've decided to use crontab for all my puppet clients rather than the daemon. I've set-up a puppetmaster with seven puppet clients. I'm using the following pattern: class cron { $minute = generate('/usr/bin/env', 'sh', '-c', 'printf $((RANDOM %60+0)

[Puppet Users] Re: Puppetd Cron Not Running

2010-08-23 Thread Franck
I have not considered --splay, but I definitely will give that a shot. I meant that the puppet.log was to be created in the /var/log/puppet directory, that was a typo. Thanks Brandon. On Aug 23, 5:23 pm, Brandon Evans wrote: > On 8/23/10 9:15 AM, Franck wrote: > > > > > > > So I've decided to u

Re: [Puppet Users] Tag usage question

2010-08-23 Thread Daniel Pittman
Jean Baptiste FAVRE writes: > I need to be able to execute some puppet statements at the end of an automatic > installation, essentially packages removal. But I don't want it to be executed > later. The main question to answer is: why not? This makes your configuration non-deterministic, which

Re: [Puppet Users] Puppetd Cron Not Running

2010-08-23 Thread Daniel Pittman
Franck writes: > So I've decided to use crontab for all my puppet clients rather than > the daemon. I've set-up a puppetmaster with seven puppet clients. > > I'm using the following pattern: > > class cron { > $minute = generate('/usr/bin/env', 'sh', '-c', 'printf $((RANDOM > %60+0))')

Re: [Puppet Users] Puppetd Cron Not Running

2010-08-23 Thread Jeff McCune
On Mon, Aug 23, 2010 at 4:54 PM, Daniel Pittman wrote: > Franck writes: > >> So I've decided to use crontab for all my puppet clients rather than >> the daemon.  I've set-up a puppetmaster with seven puppet clients. >> >>  I'm using the following pattern: >> >> class cron { >>     $minute = gener

Re: [Puppet Users] Puppetd Cron Not Running

2010-08-23 Thread Daniel Pittman
Jeff McCune writes: > On Mon, Aug 23, 2010 at 4:54 PM, Daniel Pittman wrote: >> Franck writes: >> >>> So I've decided to use crontab for all my puppet clients rather than >>> the daemon.  I've set-up a puppetmaster with seven puppet clients. >>> >>>  I'm using the following pattern: >>> >>> clas

[Puppet Users] User_Password

2010-08-23 Thread parag(PK)
Hi, My code snippet looks like this: user{xyz : password => "xyz123" } It successfully adds a user named "xyz", but when I try to login as "xyz", it does not accept password as "xyz123" ,even though I have set it. I am not able to understand the problem. Can anyone help?? -- You re

Re: [Puppet Users] User_Password

2010-08-23 Thread Patrick
Check what is actually being set in /etc/shadow (or wherever). I'm guessing the function takes an encrypted password and you're giving it a decrypted password. On Aug 23, 2010, at 10:38 PM, parag(PK) wrote: > Hi, > > My code snippet looks like this: > > user{xyz : > > > password

Re: [Puppet Users] Re: How to change the node's class or groups

2010-08-23 Thread Timo Seven
HI igal: I find the ajax only work in windows IE. It don't work in the Firefox 3.6.8 under Ubuntu 10.04. I think this is a bug. ### Best regards Timo Seven blog: http://zauc.wordpress.com twitter: http://twitter.com/zauc Linux System Admin & MySQL

[Puppet Users] Re: Is it possible to use hierarchic LDAP entries for puppet clients and parentnodes?

2010-08-23 Thread puppetplayer
> I don't know the answer to your question, but as an alternative, I believe > you can specify more than one parentnode, so the node's entry could contain > >     parentnode: 192_168_100_0 >     parentnode: zzbasenode > > to inherit things from both. Hi, thnak you for your answer. But that's not t

Re: [Puppet Users] Neverending Scope Issues

2010-08-23 Thread Douglas Garstang
On Mon, Aug 23, 2010 at 2:23 AM, Jesús Couto wrote: > Not an expert at all but... > > - I would try to get the instances of a same application done using > definitions, not classes. You can't use definitions in external nodes. > - extlookup would be a "a file include function" that would work (an

[Puppet Users] Language Feature by Release table

2010-08-23 Thread James Turnbull
Hi all We've added a Language Feature by Release table to the Language Tutorial. http://docs.puppetlabs.com/guides/language_tutorial.html Please feel free to suggest additions to this or other suggestions. Thanks James Turnbull -- Puppet Labs - http://www.puppetlabs.com C: 503-734-8571 --