Re: [Puppet Users] Does Node Inheritance work for people?

2011-08-11 Thread Charles Johnson
We probably have the quintessential setup for using node inheritance. We now have about 1000 nodes in a HPC cluster with CentOS 5.x. About 950 nodes are identical, and the naming scheme is simplistic (vmp). The remaining nodes are gateways that users log into to launch jobs, or infrastructure

Re: [Puppet Users] Fact use issue

2011-07-28 Thread Charles Johnson
Missing a comma , perhaps? group = $kernel ? { Linux = root, SunOS = bin, default = root, }, On Thu, Jul 28, 2011 at 1:47 PM, Jemmorey jemmo...@gmail.com wrote: I'm a relatively new user of puppet, so

Re: [Puppet Users] Large scale puppet deployments

2011-07-06 Thread Charles Johnson
At Vanderbilt University, we have a compute cluster with about 700 machines total, all under puppet. The machines are broken into 3 groups: compute nodes, gateways, and infrastructure. The puppet server is a dual-quad core box with 16GB ram, using apache and passenger. All 700 boxes check in once

Re: [Puppet Users] puppet CA expired

2011-06-27 Thread Charles Johnson
If you keep your nodes in a nodes.pp file, and you are logging nodes as they check in, you can run a little script that I run from time to time to find nodes that have stopped communicating: #!/bin/bash tail -2 /var/log/messages | grep Compiled catalog for | tr -s | cut -f 9 -d | cut -f

Re: [Puppet Users] Package type: enable/disable repo vs options (#2247 vs #4113)

2011-06-02 Thread Charles Johnson
+1 for #4113 Charles On Thu, Jun 2, 2011 at 12:16 PM, Jacob Helwig ja...@puppetlabs.com wrote: We currently have to feature requests to add similar (or at least overlapping) functionality to the Package type. #2247[1] - enablerepo and disablerepo for yum type #4113[2] - Provide a generic

Re: [Puppet Users] installing puppet client

2011-05-24 Thread Charles Johnson
We have 600 compute nodes, and we face the same issue. Fortunately, all of our nodes (except for 10 dual-homed gateways) are on a private 10.x.x.x network, so once someone is authenticated he or she can rsh around the cluster. So, we used multi-rsh to do the initial work for us. I created a

Re: [Puppet Users] Re: Puppetmaster and Passenger3

2011-05-13 Thread Charles Johnson
Here at Vanderbilt we use: passenger (2.2.11) rack (1.0.1) rails (2.3.5) rake (0.8.7) rubygems-update (1.7.2) Server version: Apache/2.2.3 ~Charles~ On Fri, May 13, 2011 at 3:30 PM, PBWebGuy pbweb...@gmail.com wrote: What would your recommended versions be or what are the ones that you are

Re: [Puppet Users] Red Hat Satellite Future : puppet and foreman

2011-05-11 Thread Charles Johnson
And fuzzy navels, too, if it is the right time of day wherever you are. :) On Wed, May 11, 2011 at 9:20 AM, Nigel Kersten ni...@puppetlabs.com wrote: On Wed, May 11, 2011 at 2:04 PM, yersinia yersinia.spi...@gmail.com wrote: Maybe it would be of interest to someone on this list that at the

Re: [Puppet Users] Puppet Master System Requirements

2011-05-10 Thread Charles Johnson
We have puppet managing 800 nodes from a single dedicated CentOS server with 16GB ram and 8 cores, which is our standard infrastructure box. We use apache, passenger and ruby 1.8.7. Altogether about 10GB is used for puppet. All 800 nodes check in every 30 minutes. Load levels via uptime are

Re: [Puppet Users] cannot create www-data user

2011-05-10 Thread Charles Johnson
We use CentOS 5.x and by default httpd runs as the apache user and not www-data. HTH Charles On Tue, May 10, 2011 at 2:59 PM, Tim Dunphy bluethu...@gmail.com wrote: hello list! I am having a little trouble with one of my manifests. in my apache module I attempt to start the httpd service,

[Puppet Users]

2011-04-29 Thread Charles Johnson
http://klute-it.de/images/ate.php -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For

Re: [Puppet Users] Re: puppet dashboard performance issue

2011-04-12 Thread Charles Johnson
What indexes do you have on the respective tables? On Tue, Apr 12, 2011 at 5:25 AM, Vincent vlouvi...@gmail.com wrote: I have increase the mysql like this but the queries takes still more than 9sec for the first page. any other suggestions for the mysql tuning ? key_buffer=64M

Re: [Puppet Users] Re: puppet dashboard performance issue

2011-04-12 Thread Charles Johnson
| | +-++-- +--+-+---+-+-- ++--++-+ 5 rows in set (0.01 sec) On Apr 12, 4:04 pm, Charles Johnson gm.johns...@gmail.com wrote: What indexes do you have on the respective

Re: [Puppet Users] Re: puppet dashboard performance issue

2011-04-12 Thread Charles Johnson
(0.00 sec) 2011/4/12 Charles Johnson gm.johns...@gmail.com A couple of things to notice. First, only the nodes.id index and index_reports_on_node_id index are used, and since index_reports_on_node_id is used as a ref type you will have 573 x 167 rows to examine (95,651 more or less) to produce

Re: [Puppet Users] Re: puppet dashboard performance issue

2011-04-12 Thread Charles Johnson
What seems the best set of indexes to you? Next, you need to read your mysql docs to optimize table and to reindex a table, especially if there have been lots of writes and/or lots of deletes. ~Charles~ -- You received this message because you are subscribed to the Google Groups Puppet Users

Re: [Puppet Users] Re: [Puppet-dev] RFC: Splitting up the file{} type functionality.

2011-03-30 Thread Charles Johnson
I am unsure that necessity is the point. The discussion as I understand it is whether or not splitting up the file type would be helpful especially for those who are just coming to puppet. Would it help reduce confusion and lower the learning curve. While my background sees everything as a file,

Re: [Puppet Users] General Question about passenger and puppet

2011-03-25 Thread Charles Johnson
Yes. If you configure apache and passenger correctly they manage it for you. ~Charles~ On Fri, Mar 25, 2011 at 10:57 AM, rjl rjlin...@gmail.com wrote: Does puppetd or puppetmasterd need to be running on the puppetmaster if I have configured puppet to use passenger? Thanks in advance... --

Re: [Puppet Users] WEBrick, Passenger or Mongrel

2011-03-23 Thread Charles Johnson
We use puppet running with apache and passenger on CentOS 5.x. We manage about 700 boxes with no problems. Apache was the stock install using yum. We built ruby 1.8.7 patchlevel 334 from source. We built RubyGems from source, and installed the requisite gems. We built passenger from source,

Re: [Puppet Users] Listing puppet modules

2011-03-22 Thread Charles Johnson
Our puppet agent stores classes.txt in /var/puppet/state/ ~Charles~ On Tue, Mar 22, 2011 at 1:51 PM, hai wu haiwu...@gmail.com wrote: Is there a commond to list all puppet modules applied for a certain node? I tried puppet-concat (motd-register), but it is not working if some puppet module

Re: [Puppet Users] RFC: Splitting up the file{} type functionality.

2011-03-22 Thread Charles Johnson
What initially attracted me to puppet wast that puppet described state and not (in general) actions to achieve that state. Yet, I, too, was initially confued that to manage symlinks I needed to manage files which had something to ensure called symlink. To make sure a directory is absent I have to

Re: [Puppet Users] Need advice on managing large Centos environment

2010-09-23 Thread Charles Johnson
On Thu, Sep 23, 2010 at 12:34 PM, Ohad Levy ohadl...@gmail.com wrote: I can also recommend using frozen repos, with a testing cycle every time you update them... I a while ago I wrote a small web app[1] to collect all versions of all packages across all of your hosts, you might find it useful

Re: [Puppet Users] Installing Puppet

2010-07-23 Thread Charles Johnson
On Thu, Jul 22, 2010 at 11:16 PM, parag(PK) myselfpk...@gmail.com wrote: Can anyone describe the exact puppet installation procedure I am using a Ubuntu 7.04 system Do you have ruby 1.8.7, gems, and apache and passenger installed? Cheers-- Charles -- You received this message

Re: [Puppet Users] Try at simple puppet setup -- fails

2010-07-23 Thread Charles Johnson
On the client side, try deleting /etc/puppet/ssl (or where ever you are keeping client puppet data for certificates), kill the client, and restart the client puppetd --debug --waitforcert 60 and see what happens. ~Charles~ On Fri, Jul 23, 2010 at 1:38 PM, WEB PAGE:

Re: [Puppet Users] FYI: Mac Configuration Management at the Los Alamos National Laboratory white paper

2010-06-14 Thread Charles Johnson
You can find it here: http://is.gd/cOYhE Cheers-- Charles On Mon, Jun 14, 2010 at 10:43 AM, Christopher Webber kgbbelm...@gmail.comwrote: I went to download this and it returned a 404. Is it still available somewhere? -- cwebber On Jun 4, 2010, at 4:59 PM, Marcus, Allan B wrote:

Re: [Puppet Users] unable to sign certificate for client

2010-06-11 Thread Charles Johnson
On the client, what is the output if you do puppetd --test --debug ~Charles~ On Fri, Jun 11, 2010 at 2:18 PM, jg jurisgal...@gmail.com wrote: (puppet 0.25.4) I make the client request for a certificate: $ puppetd -t --waitforcert 30 And expect the ca server to have the client's

Re: [Puppet Users] Setting up a Xen instance

2010-05-10 Thread Charles Johnson
On Mon, May 10, 2010 at 8:50 AM, Gabriel - IP Guys gabr...@impactteachers.com wrote: Hi all, I have a number of things I have set myself to do, in order to familiarize myself with puppet, and the whole way of working with it to manage Linux boxes. My first task is to configure a centos box

Re: [Puppet Users] SSL issues when testing - This is how to fix

2010-05-02 Thread Charles Johnson
Gabriel, I use puppet to maintain files and services across a linux cluster with some 850 boxes. From time to time a box goes down and has to be re-imaged. We nuke /etc/puppet/ssl, and restart puppet with puppetd --waitforcert 60; sign the cert on the puppetmaster, and away we go. We also use a

Re: [Puppet Users] Puppetmaster child processes hang

2010-04-27 Thread Charles Johnson
On Tue, Apr 27, 2010 at 8:07 AM, S H shdashb...@gmail.com 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

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 gm.johns...@gmail.comwrote: On Tue, Apr 27, 2010 at 8:07 AM, S H shdashb...@gmail.com wrote: Update

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

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 gm.johns...@gmail.comwrote: Mine do not look too dissimilar: PassengerUseGlobalQueue on PassengerMaxPoolSize 20 PassengerHighPerformance

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 alan.mc...@gmail.com wrote: [r...@puppet01 ~]# rpm -qa | grep -i puppet puppet-server-0.22.4-1.el5.rf

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 alan.mc...@gmail.com wrote: On Tue, Apr 27, 2010 at 2:07 PM, Charles Johnson gm.johns...@gmail.com wrote: I use CentOS 5.x and I have rarely had luck with the packages for puppet

Re: [Puppet Users] James Turnbull (finally) joins Puppet Labs

2010-04-12 Thread Charles Johnson
On Sun, Apr 11, 2010 at 10:58 PM, Luke Kanies l...@puppetlabs.com wrote: We're very excited to announce that after years of being a critical contributor to Puppet, including writing the Puppet Book, James Turnbull is joining Puppet Labs as Director of Operations, where he'll be responsible

Re: [Puppet Users] puppet 0.25.4 passenger with 0.24.8 clients

2010-03-31 Thread Charles Johnson
On Tue, Mar 30, 2010 at 9:46 PM, Daniel Pittman dan...@rimspace.net wrote: [...] Your client logs *still* show that there is no MOTD stuff being touched at all; try this on the client that should manage MOTD and see what is output: puppetd --test --debug 21 | grep -i motd I suspect the

Re: [Puppet Users] puppet 0.25.4 passenger with 0.24.8 clients

2010-03-31 Thread Charles Johnson
On Wed, Mar 31, 2010 at 9:16 AM, Nigel Kersten nig...@google.com wrote: /etc/puppet/modules/motd/manifests/init.pp looks like this class motd { include prodcomputenode include prodgateway shouldn't this be include motd::prodgateway ? include testcomputenode

Re: [Puppet Users] puppet 0.25.4 passenger with 0.24.8 clients

2010-03-31 Thread Charles Johnson
On Wed, Mar 31, 2010 at 10:02 AM, Nigel Kersten nig...@google.com wrote: Which examples? I've always qualified the full class name, in 0.24 and 0.25. I didn't realize you could do what you've done above. It seems undesirable, ie: class foo { ... } class eggs { include foo }

Re: [Puppet Users] puppet 0.25.4 passenger with 0.24.8 clients

2010-03-31 Thread Charles Johnson
Thanks! I will be trying that, or going back to 0.24.8 :) On Wed, Mar 31, 2010 at 10:33 AM, Nigel Kersten nig...@google.com wrote: On Wed, Mar 31, 2010 at 8:29 AM, Charles Johnson gm.johns...@gmail.com wrote: On Wed, Mar 31, 2010 at 10:02 AM, Nigel Kersten nig...@google.com wrote

Re: [Puppet Users] puppet 0.25.4 passenger

2010-03-30 Thread Charles Johnson
I apologize. I did read the stuff, and as soon as folk posted I hit myself! Sorry all. Cheers-- Charles On Tue, Mar 30, 2010 at 1:36 PM, Nigel Kersten nig...@google.com wrote: It's worth reading the ext/rack stuff on how to set up passenger. You don't necessarily need to use the example

Re: [Puppet Users] puppet 0.25.4 passenger with 0.24.8 clients

2010-03-30 Thread Charles Johnson
On Tue, Mar 30, 2010 at 3:23 PM, Asif Iqbal vad...@gmail.com wrote: On Tue, Mar 30, 2010 at 3:50 PM, cnjohnson gm.johns...@gmail.com wrote: Today has not been a good day! :) I made a small change in /modules/motd/files to see if it would be propagated to 1 client (of ~850) I am testing

Re: [Puppet Users] puppet 0.25.4 passenger with 0.24.8 clients

2010-03-30 Thread Charles Johnson
I have verified that if I add this to site.pp file { /tmp/test: owner = johns276, group = accre, mode = 755, ensure = present, } The file is indeed created as requested. The imports, however, do not seem to be effective: import modules import templates import nodes I have

Re: [Puppet Users] puppet 0.25.4 passenger with 0.24.8 clients

2010-03-30 Thread Charles Johnson
On Tue, Mar 30, 2010 at 7:58 PM, Daniel Pittman dan...@rimspace.net wrote: import modules import templates import nodes Er, did you include the class that manages the MOTD file anywhere? Your debug output says no, because nothing mentions motd at all... No. This just works(tm),

[Puppet Users] Re: Marco...

2009-11-17 Thread Charles Johnson
Actually, most posters here are top posters. :) Cheers-- Charles On Tue, Nov 17, 2009 at 4:35 AM, James Turnbull ja...@lovedthanlost.netwrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Julian Simpson wrote: It works for me. And me - I've never had any issues specifically - and

[Puppet Users] Re: passenger error logging

2009-10-26 Thread Charles Johnson
On Mon, Oct 26, 2009 at 3:28 PM, nothings_absolute soren.mor...@gmail.comwrote: Can anyone tell me how to configure apache + passenger + puppetmasterd to write out the puppet server logs somewhere (apache server log is fine). Right now I don't get any errors from puppetmasterd and it is

[Puppet Users] Re: Silent failure

2009-09-06 Thread Charles Johnson
On Sun, Sep 6, 2009 at 2:39 PM, Andrew Shafer and...@reductivelabs.comwrote: class bash{ file { dir_colors : mode = 644, owner = root, group = root, ensure = file,

[Puppet Users] Re: Tidy question

2009-09-04 Thread Charles Johnson
On Fri, Sep 4, 2009 at 2:11 PM, cnjohnson gm.johns...@gmail.com wrote: I have the following in site.pp tidy { /usr/spool/PBS/aux: age = '26w', } expecting that all files 26 weeks or older would be gone in /usr/spool/ PBS/aux Doesn't happen. What am I missing? Cheers--

[Puppet Users] Re: Puppet server recommendations

2009-08-22 Thread Charles Johnson
On Thu, Aug 20, 2009 at 9:26 PM, Ohad Levy ohadl...@gmail.com wrote: I would recommend you not to allow autofs to restart, but rather force a reload (if your OS supports it). (it would be similar to pulling the plug out of the machine :)) Just as a side note, do you have any software that