Re: [Puppet Users] Is this an intermediate / advanced puppet users list??

2010-04-27 Thread Nicolas Szalay
Le lundi 26 avril 2010 à 15:13 +0100, Gabriel - IP Guys a écrit : > Dear Guys (and girls and autobots), Hello, > I look at the issues that some people have on this list, and I am > genuinely embarrassed to post my issues! I’m only trying to write some > simple recipies, that do things like instal

Re: [Puppet Users] Setting Variable in Class or Node and Using in Included Module

2010-04-27 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > [0] I have various nodes defined by function (e.g. database server) that > inherit from a base node. One thing the base node does is check a fact > that returns the location of the client. It then includes a module with > the location-specific config

Re: [Puppet Users] OS Conditional exec.

2010-04-27 Thread R.I.Pienaar
On 27 Apr 2010, at 02:37, Ohad Levy wrote: > AFAIK, it does get evaluated each time :) When I first did extlookup i tried to set the look up order using normal vars like below in site.pp $extlookup_precedence = ["$fqdn"] This failed on 24 it would get blanks or wrong ones Maybe it's fixed

AW: [Puppet Users] Resolving variables when using templates

2010-04-27 Thread Bernd Adamowicz
Dan, I think what you suggested seems to be the right way. I had a deeper look at external node classifiers as well as on working with different environments inside Puppet. I have not been aware of these concepts but will start now to create a proof of concept for our systems. Thanks all for he

Re: [Puppet Users] Re: Recipe Active Directory?

2010-04-27 Thread Kenneth Holter
Hi. Have anyone customized this for RHEL, and would like to share their manifest? Regards, Kenneth Holter On Fri, May 22, 2009 at 3:21 AM, Mike Renfro wrote: > > Taylor wrote: >> Does anyone have a recipe for binding to active directory? I'm working >> off ubuntu 9.04 but would love to see one

AW: [Puppet Users] Setting Variable in Class or Node and Using in Included Module

2010-04-27 Thread Bernd Adamowicz
Sounds pretty much like the problem I posted yesterday. You may have a look at it here: http://groups.google.com/group/puppet-users/browse_thread/thread/336a6c1d941acca8/b50faf7711b7bf41?hl=en&lnk=gst&q=adamowicz#b50faf7711b7bf41. It seems that external node definitions and different environment

Re: [Puppet Users] Setting Variable in Class or Node and Using in Included Module

2010-04-27 Thread Dan Carley
On 27 April 2010 08:52, Peter Meier wrote: > The best practice is to either go with an external node tool for > complexe node definitions or at least not to use any includes in > super-nodes which behavior you want to tweak with variables in > sub-nodes, as inheritance in nodes don't work the way

RE: [Puppet Users] Is this an intermediate / advanced puppet users list??

2010-04-27 Thread Gabriel - IP Guys
Thanks Guys, ( Dan, Daniel, and Nicolas J ) for your positive comments. I'm not a coder by nature, so I will say dumb things, but I feel more determined to crack this puppet system, to me it seems like it really should be linux system administrator lesson 101! Okay, I have a few 'dumb' questions t

[Puppet Users] Re: Is this an intermediate / advanced puppet users list??

2010-04-27 Thread Tore
If you want to learn more and like reading, check out James Turnbull's book: http://www.amazon.com/Pulling-Strings-Puppet-Configuration-Management/dp/1590599780 I've got it myself and I think its a good book. On 26 apr, 16:13, "Gabriel - IP Guys" wrote: > Dear Guys (and girls and autobots), > >

Re: [Puppet Users] HTTP Authentication type

2010-04-27 Thread Daniel Pittman
James Turnbull writes: > In one of those "should have been doing better things with my time" > moments I got frustrated with creating HTTP authentication files > with htpasswd and htdigest. So I created a Puppet type to manage > them. You can find the code (including tests! :) ) at: [...] > Ho

[Puppet Users] Puppetmaster with stored configs leaks file descriptors on CentOS 5

2010-04-27 Thread Arnaud Gomes-do-Vale
Hi folks, When I enabled stored configs on my puppet master, it began keeping lots of open connections to the MySQL server (as far as I understand it opened one connection for each client run and never closed them). I set up the server to close idle connections after 5 minutes. Now the database s

Re: [Puppet Users] Puppetmaster child processes hang

2010-04-27 Thread S H
On Tue, Mar 9, 2010 at 11:52 AM, S H wrote: > > > On Fri, Feb 26, 2010 at 11:41 AM, S H wrote: > >> >> On Mon, Feb 22, 2010 at 11:18 AM, Scott Smith wrote: >> >>> On 2/22/10 7:41 AM, S H wrote: >>> Anything else make sense to check? After about a week I've got 19 processes running. >>

[Puppet Users] Re: Setting Variable in Class or Node and Using in Included Module

2010-04-27 Thread Brian
On Apr 27, 3:52 am, Peter Meier wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > > [0] I have various nodes defined by function (e.g. database server) that > > inherit from a base node. One thing the base node does is check a fact > > that returns the location of the client. It then

Re: [Puppet Users] Puppetmaster child processes hang

2010-04-27 Thread Charles Johnson
On Tue, Apr 27, 2010 at 8:07 AM, S H wrote: > > Update: Passenger helped, but did not eliminate the problem. The number of > httpd processes gradually climbs (highest I've seen is 109 - I only have 18 > clients talking to Puppet right now) until it reaches Apache's max, then > client runs start f

Re: [Puppet Users] Puppetmaster child processes hang

2010-04-27 Thread Charles Johnson
As an aside, I am using puppet/passenger/apache managing 850 nodes with no issues like the one you have mentioned. Cheers-- Charles On Tue, Apr 27, 2010 at 8:27 AM, Charles Johnson wrote: > On Tue, Apr 27, 2010 at 8:07 AM, S H wrote: > >> >> Update: Passenger helped, but did not eliminate the

RE: [Puppet Users] Re: Is this an intermediate / advanced puppet users list??

2010-04-27 Thread Gabriel - IP Guys
I've already got this book on the way! Brilliant! (actually, it was the only one I could find that had across the board good reviews) As I stated earlier, I'll start posting some of my questions, but I will give it a good go to fix my own issues first :) -Original Message- From: puppet-us

Re: [Puppet Users] Puppetmaster with stored configs leaks file descriptors on CentOS 5

2010-04-27 Thread Brice Figureau
Hi, On Tue, 2010-04-27 at 15:05 +0200, Arnaud Gomes-do-Vale wrote: > Hi folks, > > When I enabled stored configs on my puppet master, it began keeping lots > of open connections to the MySQL server (as far as I understand it > opened one connection for each client run and never closed them). > >

Re: [Puppet Users] Puppetmaster with stored configs leaks file descriptors on CentOS 5

2010-04-27 Thread Scott Smith
You might also try the latest ruby-mysql gem. Brice Figureau wrote: >Hi, > >On Tue, 2010-04-27 at 15:05 +0200, Arnaud Gomes-do-Vale wrote: >> Hi folks, >> >> When I enabled stored configs on my puppet master, it began keeping lots >> of open connections to the MySQL server (as far as I understa

[Puppet Users] Puppet DSL editor

2010-04-27 Thread SyRenity
Hi. Is there any editor that can understand puppet DSL with syntax high- lighting? Thanks. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send

Re: [Puppet Users] Puppetmaster child processes hang

2010-04-27 Thread S H
On Tue, Apr 27, 2010 at 9:27 AM, Charles Johnson wrote: > > > What passenger directives are you using in your apache config files? > > > Cheers-- > > Charles > The relevant Apache configuration: LoadModule passenger_module /usr/local/lib/ruby/gems/1.8/gems/passenger-2.2.9/ext/apache2/mod_p

Re: [Puppet Users] Puppet DSL editor

2010-04-27 Thread Peter Meier
Is there any editor that can understand puppet DSL with syntax high- lighting? vim, emacs . At least those are the one for which there are syntax files: http://github.com/reductivelabs/puppet/tree/master/ext/ I remember that there was also some support for textmate. cheers pete -- You re

[Puppet Users] Public information - puppetrun problem

2010-04-27 Thread dbs
I've been banging my head against the wall on this one for a while, and I think I just figured it out. I had configured my puppet clients with namespaceauth to allow puppetrun from the puppetmaster to force an update. The problem is, anytime I ran the puppetrun command, I'd get: d...@bos-occam01

[Puppet Users] Re: OS Conditional exec.

2010-04-27 Thread John Lyman
> puppet really needs a downcase function. You can use an inline template: $lc_operatingsystem = inline_template("<%= operatingsystem.downcase - %>") -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-u

Re: [Puppet Users] Puppetmaster with stored configs leaks file descriptors on CentOS 5

2010-04-27 Thread Arnaud Gomes-do-Vale
Brice Figureau writes: > Can you try with a newer rails/active record? > This one is a little bit old, and I'm not sure there aren't some bugs. > I vaguely remember that puppet required rails 2.2, but I might be wrong. Will try. I was hoping I could get away with using whatever is in EPEL; has

Re: [Puppet Users] Public information - puppetrun problem

2010-04-27 Thread Peter Meier
A feature request - if puppet can't read the local certificate, it should throw a permission error of some sort. Please file one at: http://projects.puppetlabs.com/projects/puppet Thanks. cheers pete -- You received this message because you are subscribed to the Google Groups "Puppet Users" g

Re: [Puppet Users] Puppetmaster child processes hang

2010-04-27 Thread S H
I also just discovered that some of my clients are locking up and requiring a SIGKILL to end them. This could be the root cause of the puppetmaster issues, so I'm going to run the clients as cron jobs for a while and see if that changes anything. -SH -- You received this message because you are

[Puppet Users] Re: Puppet DSL editor

2010-04-27 Thread SyRenity
Thanks, VIM is cool. Though I secretly hoped for Eclipse support :). On Apr 27, 6:27 pm, Peter Meier wrote: > > Is there any editor that can understand puppet DSL with syntax high- > > lighting? > > vim, emacs . At least those are the one for which there are syntax   > files:http://github.com/r

[Puppet Users] cannot get certificates working

2010-04-27 Thread Alan McKay
Hey folks, I'm just about ready to go bananas over here! I read the FAQ, and yes, I am doing a reinstall. But as you will see below I believe I am cleaning things out properly so there are no false cert remnants lying around. I'm going bonkers as to why the cert exchange is not working I've

Re: [Puppet Users] Re: Puppet DSL editor

2010-04-27 Thread Michael DeHaan
This might be a good project for someone interested in Eclipse. Maybe you could take a stab at it using those as a reference and then we could check them in for others to use? --Michael On Tue, Apr 27, 2010 at 12:04 PM, SyRenity wrote: > Thanks, VIM is cool. > > Though I secretly hoped for Eclip

Re: [Puppet Users] cannot get certificates working

2010-04-27 Thread Michael DeHaan
You might want to try explicitly setting certname == fqdn for puppet02 in puppet.conf, further if you changed DNS/hostnames after asking for the cert, that may have confused things? --Michael On Tue, Apr 27, 2010 at 12:25 PM, Alan McKay wrote: > Hey folks, > > I'm just about ready to go bananas

Re: [Puppet Users] cannot get certificates working

2010-04-27 Thread R.I.Pienaar
- "Michael DeHaan" wrote: > You might want to try explicitly setting certname == fqdn for > puppet02 in puppet.conf, further if you changed DNS/hostnames after asking for > the cert, that may have confused things? > > [r...@puppet01 ~]# rpm -qa | grep -i puppet > > puppet-server-0.22.4-1.

Re: [Puppet Users] Re: Puppet DSL editor

2010-04-27 Thread Peter Meier
This might be a good project for someone interested in Eclipse. Maybe you could take a stab at it using those as a reference and then we could check them in for others to use? I talked once with an eclipse contributor about that and he mentioned that with the various built in support for DSL s

Re: [Puppet Users] cannot get certificates working

2010-04-27 Thread Alan McKay
>> > [r...@puppet01 ~]# rpm -qa | grep -i puppet >> > puppet-server-0.22.4-1.el5.rf >> > puppet-0.22.4-1.el5.rf > > mostly I think you do not ever want to use this version of puppet :) H, OK, I'll look into that further. Thanks. -- “Don't eat anything you've ever seen advertised on TV”

Re: [Puppet Users] Puppetmaster child processes hang

2010-04-27 Thread Charles Johnson
Mine do not look too dissimilar: PassengerUseGlobalQueue on PassengerMaxPoolSize 20 PassengerHighPerformance on PassengerPoolIdleTime 1800 PassengerStatThrottleRate 120 RackAutoDetect Off RailsAutoDetect Off 1, Try using the global queue 2. Try dropping you pool idle time, which should force tur

Re: [Puppet Users] Puppetmaster child processes hang

2010-04-27 Thread Charles Johnson
BTW, I use the defaults that came with apache for server/worker params. ~Charles~ On Tue, Apr 27, 2010 at 12:51 PM, Charles Johnson wrote: > Mine do not look too dissimilar: > > PassengerUseGlobalQueue on > PassengerMaxPoolSize 20 > PassengerHighPerformance on > PassengerPoolIdleTime 1800 > Pass

Re: [Puppet Users] Puppetmaster child processes hang

2010-04-27 Thread Patrick
On Apr 27, 2010, at 10:51 AM, Charles Johnson wrote: > Mine do not look too dissimilar: > > PassengerUseGlobalQueue on > PassengerMaxPoolSize 20 > PassengerHighPerformance on > PassengerPoolIdleTime 1800 > PassengerStatThrottleRate 120 > RackAutoDetect Off > RailsAutoDetect Off > > 1, Try using

Re: [Puppet Users] Puppetmaster with stored configs leaks file descriptors on CentOS 5

2010-04-27 Thread Christopher
Hello... On Tue, 2010-04-27 at 15:05 +0200, Arnaud Gomes-do-Vale wrote: > Hi folks, > > When I enabled stored configs on my puppet master, it began keeping lots > of open connections to the MySQL server (as far as I understand it > opened one connection for each client run and never closed them)

Re: [Puppet Users] cannot get certificates working

2010-04-27 Thread Charles Johnson
I use CentOS 5.x and I have rarely had luck with the packages for puppet/ruby/passenger. 0.22.4 is just too old to fool with IMHO. ~Charles~ On Tue, Apr 27, 2010 at 12:47 PM, Alan McKay wrote: > >> > [r...@puppet01 ~]# rpm -qa | grep -i puppet > >> > puppet-server-0.22.4-1.el5.rf > >> > puppet

Re: [Puppet Users] cannot get certificates working

2010-04-27 Thread Alan McKay
On Tue, Apr 27, 2010 at 2:07 PM, Charles Johnson wrote: > I use CentOS 5.x and I have rarely had luck with the packages for > puppet/ruby/passenger. > 0.22.4 is just too old to fool with IMHO. puppet-server-0.25.4-1.el5 puppet-0.25.4-1.el5 I just picked these up out of EPEL and will report back

Re: [Puppet Users] cannot get certificates working

2010-04-27 Thread Charles Johnson
Excellent idea. Looking forward to hearing about your experience. On Tue, Apr 27, 2010 at 1:11 PM, Alan McKay wrote: > On Tue, Apr 27, 2010 at 2:07 PM, Charles Johnson > wrote: > > I use CentOS 5.x and I have rarely had luck with the packages for > > puppet/ruby/passenger. > > 0.22.4 is just to

[Puppet Users] Puppet Featured on RCE Podcast

2010-04-27 Thread Brock Palen
The podcast www.rce-cast.com (which I co-host with Jeff Squyres) featured Michael DeHaan of Puppet Labs and gave us a good rundown of what puppet is and how it works. You can find the show at: http://www.rce-cast.com/Podcast/rce-32-puppet-a-tool-for-data-center-automation.html RSS: http://ww

Re: [Puppet Users] cannot get certificates working

2010-04-27 Thread Alan McKay
OK, finally it is doing something! I see this in the logs on puppet02 Apr 27 14:31:09 localhost puppetd[13325]: Starting Puppet client version 0.25.4 Apr 27 14:31:11 localhost puppetd[13325]: (//File[/etc/passwd]/group) group changed 'root' to 'bin' Apr 27 14:31:11 localhost puppetd[13325]: Finis

[Puppet Users] RHEL 6

2010-04-27 Thread Ashley Penney
Quick question: Has anyone tried Puppet on the RHEL 6 beta? We have to start gearing up at work to replace our RHEL5 servers with RHEL6 to resolve a bunch of long running issues we have, and I didn't even want to download the iso until I knew someone else had given it a whirl with cobbler/puppet.

[Puppet Users] status of cpan provider?

2010-04-27 Thread Alan McKay
Hi folks, I was just digging through the archives and found some comments from Sept 2008 about CPAN provider being immature. What is the current status? One of the main things I'd like to do with puppet is keep CPAN modules updated. thanks, -Alan -- “Don't eat anything you've ever seen advert

Re: [Puppet Users] RHEL 6

2010-04-27 Thread Marc Fournier
> Quick question: Has anyone tried Puppet on the RHEL 6 beta? We have > to start gearing up at work to replace our RHEL5 servers with RHEL6 > to resolve a bunch of long running issues we have, and I didn't even > want to download the iso until I knew someone else had given it a > whirl with cobb

Re: [Puppet Users] Wiki: Syntax woes? Page preview on non-edited page -> big mess :)

2010-04-27 Thread Sebastian Kayser
James Turnbull wrote on 27.04.2010 01:27: > On 27/04/10 7:42 AM, Sebastian Kayser wrote: >> I am new to the Redmine Wiki which powers the Puppet Wiki. I wanted to >> fix a link in the Downloading Puppet -> Solaris section [1], but when I >> try to edit the page, the shown page source / markup doesn

Re: [Puppet Users] HTTP Authentication type

2010-04-27 Thread James Turnbull
On 27/04/2010 10:48 PM, Daniel Pittman wrote: It pretty much mirrors my implementation in "puppet and shell", including API, which makes it pleasantly easy to migrate to. Any features you want? It also mirrors the main limitation of mine, as far as I can tell: is there a way I can use this t

Re: [Puppet Users] cannot get certificates working

2010-04-27 Thread James Turnbull
On 28/04/2010 3:16 AM, R.I.Pienaar wrote: - "Michael DeHaan" wrote: You might want to try explicitly setting certname == fqdn for puppet02 in puppet.conf, further if you changed DNS/hostnames after asking for the cert, that may have confused things? [r...@puppet01 ~]# rpm -qa | grep

Re: [Puppet Users] Wiki: Syntax woes? Page preview on non-edited page -> big mess :)

2010-04-27 Thread James Turnbull
On 28/04/2010 9:02 AM, Sebastian Kayser wrote: Thanks for the info, James. Worked flawlessly. Is there any macro to create a table of contents (and thereby some structure) for longish pages like the following? http://projects.puppetlabs.com/projects/puppet/wiki/Puppet_Solaris Sebastian Th

Re: [Puppet Users] Is this an intermediate / advanced puppet users list??

2010-04-27 Thread Joe McDonagh
Gabriel - IP Guys wrote: Dear Guys (and girls and autobots), I look at the issues that some people have on this list, and I am genuinely embarrassed to post my issues! I'm only trying to write some simple recipies, that do things like install basic software and such, but some of the code sni