Re: [Puppet Users] Help with LDAP, Users, and Puppet..

2010-11-02 Thread Bruce Richardson
On Mon, Nov 01, 2010 at 08:27:30PM -0700, Matt Wise wrote: > nsscache was an attempt at solving the issue... even without nscd > installed, or nsscache, the issue happens extremely frequently. so far > the only fix i have is to do everything with hard-coded GID/UIDs ... Is it only Puppet which ha

Re: [Puppet Users] Does puppetmaster knows its own configuration parameters?

2010-11-02 Thread Felix Frank
On 11/01/2010 06:51 PM, Robert Scheer wrote: > ... > I could solve that by making a custom fact, but besides the huge overhead > of "puppetd --configprint server" running every 30 minutes on every node, > it is just weird for a server to have to ask the client for its own name. > > So I'd really l

Re: [Puppet Users] Help with LDAP, Users, and Puppet..

2010-11-02 Thread Michael Gliwinski
On Tuesday 02 Nov 2010 01:53:34 Bruce Richardson wrote: > nsscache is probably at fault. Try removing it from nsswitch on > a machine which has shown this problem and then see how that affects > things. Why do you think nsscache could be a problem? The reason I'm asking is I'm having some issues

Re: [Puppet Users] Does puppetmaster knows its own configuration parameters?

2010-11-02 Thread Alan Barrett
On Mon, 01 Nov 2010, Robert Scheer wrote: > Is there a way to access the local configuration parameter 'server' > within puppet? Or is there another, better solution I am missing? See issue 2807 . In puppet-2.6, you can say $server = $settings::server

Re: [Puppet Users] Help with LDAP, Users, and Puppet..

2010-11-02 Thread Bruce Richardson
On Tue, Nov 02, 2010 at 09:35:24AM +, Michael Gliwinski wrote: > On Tuesday 02 Nov 2010 01:53:34 Bruce Richardson wrote: > > nsscache is probably at fault. Try removing it from nsswitch on > > a machine which has shown this problem and then see how that affects > > things. > > Why do you thin

[Puppet Users] Re: RFC: Make file content specification methods consistent.

2010-11-02 Thread jcbollinger
On Nov 1, 7:07 pm, Nigel Kersten wrote: > It would be great if someone could update the original bug with the > position we've come to, otherwise I'll get to it in the next few days. Done. John -- You received this message because you are subscribed to the Google Groups "Puppet Users" group

[Puppet Users] Patch Management

2010-11-02 Thread Joel Merrick
Hi Puppeteers! I've just been speaking to Ohad on #theforeman about package management, specifically about generating lists of packages : version numbers across the estate for things like patch management. DISCLAIMER: I'm new to puppet! What I was initially thinking was extended facter to produc

[Puppet Users] fqdn vs short name

2010-11-02 Thread CraftyTech
Hello All, Question: Does anyone uses puppet with "shortnames" for hostname on the client nodes as opposed to fqdn? I noticed that the ssl cert needs to be a fqdn in order to work. Would having shortname for hostname, and using fqdn just as an alias in DNS, work? If anyone uses a setup lik

Re: [Puppet Users] Patch Management

2010-11-02 Thread R.I.Pienaar
- "Joel Merrick" wrote: > Is there any way this could be accomplished? I suppose the nirvana > for me would be to be able to instantly see if a package needs updating, > based upon a CVE/DSA/RSA etc similar to the way pakiti does it [1].. > (although I suppose a sources.list with just securi

Re: [Puppet Users] fqdn vs short name

2010-11-02 Thread Nigel Kersten
On Tue, Nov 2, 2010 at 7:32 AM, CraftyTech wrote: > Hello All, > >     Question: Does anyone uses puppet with "shortnames" for hostname > on the client nodes as opposed to fqdn?  I noticed that the ssl cert > needs to be a fqdn in order to work.  Would having shortname for > hostname, and using fq

[Puppet Users] Re: Patch Management

2010-11-02 Thread luke.bigum
On Nov 2, 2:26 pm, Joel Merrick wrote: > Hi Puppeteers! > > I've just been speaking to Ohad on #theforeman about package > management, specifically about generating lists of packages : version > numbers across the estate for things like patch management. > > DISCLAIMER: I'm new to puppet! > > Wh

Re: [Puppet Users] Re: Patch Management

2010-11-02 Thread Joel Merrick
On Tue, Nov 2, 2010 at 2:50 PM, luke.bigum wrote: Do you want to be TOLD what > needs updating across your site and then click/run something that will > automatically do it? Yep, this is the one. Apologies if it wasn't clear > > For the third you won't be able to easily achieve that with stock

Re: [Puppet Users] Re: RFC: Make file content specification methods consistent.

2010-11-02 Thread Nigel Kersten
On Tue, Nov 2, 2010 at 6:34 AM, jcbollinger wrote: > > On Nov 1, 7:07 pm, Nigel Kersten wrote: >> It would be great if someone could update the original bug with the >> position we've come to, otherwise I'll get to it in the next few days. > > Done. > > > John Thanks. There's one thing I'm not q

Re: [Puppet Users] Help with LDAP, Users, and Puppet..

2010-11-02 Thread Michael Gliwinski
On Tuesday 02 Nov 2010 12:44:38 Bruce Richardson wrote: > On Tue, Nov 02, 2010 at 09:35:24AM +, Michael Gliwinski wrote: > > On Tuesday 02 Nov 2010 01:53:34 Bruce Richardson wrote: > > > nsscache is probably at fault. Try removing it from nsswitch on > > > a machine which has shown this proble

Re: [Puppet Users] Does puppetmaster knows its own configuration parameters?

2010-11-02 Thread Robert Scheer
On Mon, Nov 01, 2010 at 13:07 -0700, Patrick wrote: > This isn't a very good answer, but the variable "$servername" contains the > name of the server the client think's it's connecting to. That may do what > you want. This is a very good answer! Thank you. Where in the documentation did you fi

Re: [Puppet Users] Does puppetmaster knows its own configuration parameters?

2010-11-02 Thread Robert Scheer
On Tue, Nov 02, 2010 at 10:24 +0100, Felix Frank wrote: > Sounds to me as though you had finally found a use for the generate > function, e.g. $master_host = generate("dnsdomainname -f"). > > http://docs.puppetlabs.com/references/stable/function.html#generate > > ;-) Just kidding, it's a useful

Re: [Puppet Users] Does puppetmaster knows its own configuration parameters?

2010-11-02 Thread Patrick
On Nov 2, 2010, at 9:09 AM, Robert Scheer wrote: > On Mon, Nov 01, 2010 at 13:07 -0700, Patrick wrote: > >> This isn't a very good answer, but the variable "$servername" contains the >> name of the server the client think's it's connecting to. That may do what >> you want. > > This is a very

Re: [Puppet Users] Re: RFC: Make file content specification methods consistent.

2010-11-02 Thread Michael Gliwinski
On Tuesday 02 Nov 2010 15:06:19 Nigel Kersten wrote: > On Tue, Nov 2, 2010 at 6:34 AM, jcbollinger wrote: > > On Nov 1, 7:07 pm, Nigel Kersten wrote: > >> It would be great if someone could update the original bug with the > >> position we've come to, otherwise I'll get to it in the next few day

Re: [Puppet Users] Re: RFC: Make file content specification methods consistent.

2010-11-02 Thread Patrick
On Nov 2, 2010, at 9:14 AM, Michael Gliwinski wrote: > On Tuesday 02 Nov 2010 15:06:19 Nigel Kersten wrote: >> On Tue, Nov 2, 2010 at 6:34 AM, jcbollinger > wrote: >>> On Nov 1, 7:07 pm, Nigel Kersten wrote: It would be great if someone could update the original bug with the position

Re: [Puppet Users] Re: RFC: Make file content specification methods consistent.

2010-11-02 Thread Nigel Kersten
On Tue, Nov 2, 2010 at 4:32 PM, Patrick wrote: > > On Nov 2, 2010, at 9:14 AM, Michael Gliwinski wrote: > >> On Tuesday 02 Nov 2010 15:06:19 Nigel Kersten wrote: >>> On Tue, Nov 2, 2010 at 6:34 AM, jcbollinger >> wrote: On Nov 1, 7:07 pm, Nigel Kersten wrote: > It would be great if some

[Puppet Users] Inheritance

2010-11-02 Thread Douglas Garstang
Question. Why doesn't /tmp/foo get created? Doug. class class_1 { file { "/tmp/foo": ensure => directory; } } class class_2 inherits class_1 { } include class2 -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To p

[Puppet Users] Re: Inheritance

2010-11-02 Thread Douglas Garstang
Apart from the obvious typo. Should be "include class_2". Still doesn't work though. Puppet class inheritance black art... On Tue, Nov 2, 2010 at 10:34 AM, Douglas Garstang wrote: > Question. Why doesn't /tmp/foo get created? > > Doug. > > > class class_1 { > file { > "/tmp/foo"

Re: [Puppet Users] Re: RFC: Make file content specification methods consistent.

2010-11-02 Thread Brice Figureau
On 02/11/10 17:43, Nigel Kersten wrote: > On Tue, Nov 2, 2010 at 4:32 PM, Patrick wrote: >> *) Would creating a function that says, 'return the first argument >> that doesn't throw an exception' be useful? *) Is it even feasible >> to write? > > maybe... I'm having trouble thinking of a decent na

Re: [Puppet Users] Re: Inheritance

2010-11-02 Thread Jeff McCune
On Tue, Nov 2, 2010 at 10:35 AM, Douglas Garstang wrote: > Apart from the obvious typo. > Should be "include class_2". Still doesn't work though. > Puppet class inheritance black art... What version of puppet are you running? > On Tue, Nov 2, 2010 at 10:34 AM, Douglas Garstang > wrote: >> >

[Puppet Users] Re: fqdn vs short name

2010-11-02 Thread CraftyTech
Thanks Nigel. That worked out pretty good. Cheers, On Nov 2, 10:43 am, Nigel Kersten wrote: > On Tue, Nov 2, 2010 at 7:32 AM, CraftyTech wrote: > > Hello All, > > >     Question: Does anyone uses puppet with "shortnames" for hostname > > on the client nodes as opposed to fqdn?  I noticed that

[Puppet Users] tagged not working ?

2010-11-02 Thread Luc Suryo
Hello For some reason I do not seems to be able to get 'tag' working... env : EC2 Ubuntu, puppet version 2.6.1 (client and puppetmaster) example of my nodes.pp file class puppet_tagged { if tagged("fly-puppet") { file { "/tmp/fly_puppet_server":

Re: [Puppet Users] finished, yet execution expired

2010-11-02 Thread Micah Anderson
Interestingly, I decided to try and switch from passenger to nginx to see if that changed anything, and behold! Everything is working as it should. So, something is strange with 2.6.2 and passenger, because I was running a perfectly functional passenger setup with 0.25.5, and the only thing I ch

Re: [Puppet Users] Re: RFC: Make file content specification methods consistent.

2010-11-02 Thread Patrick
On Nov 2, 2010, at 9:43 AM, Nigel Kersten wrote: > On Tue, Nov 2, 2010 at 4:32 PM, Patrick wrote: >> >> On Nov 2, 2010, at 9:14 AM, Michael Gliwinski wrote: >> >>> On Tuesday 02 Nov 2010 15:06:19 Nigel Kersten wrote: On Tue, Nov 2, 2010 at 6:34 AM, jcbollinger >>> wrote: > On Nov 1,

Re: [Puppet Users] Re: RFC: Make file content specification methods consistent.

2010-11-02 Thread Nigel Kersten
> I kind of disagree with splitting it off. > > Perhaps I didn't express myself well, but my main impetus was to make > the source/file/template data specifications *all* support the > find-first-existing and concatenation functionality in a sane and > consistent manner. > > I know that was your in

Re: [Puppet Users] finished, yet execution expired

2010-11-02 Thread Jeff McCune
On Mon, Nov 1, 2010 at 4:19 PM, Micah Anderson wrote: > > I just upgraded master and clients to 2.6.2, i'm on a passenger setup, > and I'm seeing some odd things with puppet runs. Sometimes runs are > relatively fast, and they say they finish, I see this printed out: > > notice: Finished catalog r