[Puppet Users] Re: puppetmasterd taking a lot of memory

2008-11-14 Thread Loobster
On Nov 14, 6:53 pm, "Andrew Shafer" <[EMAIL PROTECTED]> wrote: > How many clients and how much file serving? 3 clients. The puppet server was a client. puppetd was simply transfering firefox 3.0.4 file { "/usr/local/firefox": source => "puppet://puppet/applications/firefox/ firefox-

[Puppet Users] ldap nodes and authentication.

2008-11-14 Thread Leon Meßner
Hi, i'm relatively new to puppet and to this list and have a problem configuring puppet for using ldap nodes. I have a very basic testing setup on FreeBSD7_0 using puppet-dev port (0.24.5) The error i get is: warning: Retrying LDAP connection err: LDAP Search failed When tcpdumping i can see, t

[Puppet Users] Re: puppetmasterd taking a lot of memory

2008-11-14 Thread Andrew Shafer
How many clients and how much file serving? I'd love for someone with deep profiling experience to take a look at this but so far I haven't found a leak so much as just a lot of memory consumption and poor GC. With the Ruby implementation of XMLRPC puppet uses now, file serving results in 3x the

[Puppet Users] Re: puppetmasterd taking a lot of memory

2008-11-14 Thread RijilV
2008/11/14 Loobster <[EMAIL PROTECTED]> > > I installed the blastware packages and then used gary's CSWpuppet > (0.24.4) package from http://www.garylaw.net/packages/ > > I'm seeing puppetmasterd using a lot of memory (850MB+). > > It seems that ruby might have a memory leak from the forum posts I

[Puppet Users] Re: puppetmasterd taking a lot of memory

2008-11-14 Thread Aj
I've noticed a significant drop in memory usage since disabling storeconfigs (and thus, rails 'n stuff). Previously I'd have to crontab restart the masters. On 15/11/2008, at 9:51 AM, Loobster <[EMAIL PROTECTED]> wrote: > > I installed the blastware packages and then used gary's CSWpuppet >

[Puppet Users] Re: Facter is broken on Open Solaris (facter-1.5.2)

2008-11-14 Thread Parimi V.
OpenSolaris release model is pretty confusing at this point. I'd think using the build number as OSRelease at this point is reasonable as that's how they refer the OS release to. At the least, facter should be forgiving on what it gets from the /etc/release, which is failing with very bizarre erro

[Puppet Users] puppetmasterd taking a lot of memory

2008-11-14 Thread Loobster
I installed the blastware packages and then used gary's CSWpuppet (0.24.4) package from http://www.garylaw.net/packages/ I'm seeing puppetmasterd using a lot of memory (850MB+). It seems that ruby might have a memory leak from the forum posts I'm reading. Is there a known resolution to this or

[Puppet Users] Re: Facter is broken on Open Solaris (facter-1.5.2)

2008-11-14 Thread Eric Eisenhart
On Nov 14, 2008, at 7:29 AM, Andrew Wasilczuk wrote: > I tried to fix this a while ago, and I accidentally started a thread > on > opensolaris-discuss [1], where I was told that using /etc/release in > scripts is generally a bad idea because it may change without a > notice. > There is also s

[Puppet Users] Re: External_nodes definition not working. Client states "could not find node"

2008-11-14 Thread Luke Kanies
On Nov 14, 2008, at 7:45 AM, Kurt Bendlin wrote: > > > Hello folks, > > Im trying to migrate from static nodes-definition to external nodes > definition. > > My script looks like this stolen from > http://reductivelabs.com/trac/puppet/wiki/ExternalNodes: > > {{{ > > #!/usr/bin/perl -w > use warni

[Puppet Users] Re: Ruby 1.9 and puppet

2008-11-14 Thread Luke Kanies
On Nov 14, 2008, at 9:22 AM, kevin wrote: > does puppet run under the ruby 1.9 interpreter? > AFAIK, no one has tried it. -- I have lost friends, some by death... others through sheer inability to cross the street. -- Virginia Woolf

[Puppet Users] onlyif functionality for the File type

2008-11-14 Thread benjamin
i need to copy a file into a directory if that directory exists. simple enough to instantiate the file type.. put this file there.. and if the path doesn't exist the ensure fails.. but with an error. it would be great if the File type supported an onlyif parameter similar to Exec so that the co

[Puppet Users] Ruby 1.9 and puppet

2008-11-14 Thread kevin
does puppet run under the ruby 1.9 interpreter? --~--~-~--~~~---~--~~ 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,

[Puppet Users] puppet newbie

2008-11-14 Thread [EMAIL PROTECTED]
Hi , just starting off with Puppet on Macs. initially we are planning for a small group of machines. If successfull we plan to span it to entire environment in a phased manner. I have a couple of newbie questions. Do i have to use custom script to create and maintain user/group accounts as far

[Puppet Users] Re: subscribe and require with exec

2008-11-14 Thread Casey Deccio
On Fri, Nov 14, 2008 at 8:43 AM, RijilV <[EMAIL PROTECTED]> wrote: > In this case you could be kinda sneaky and use the 'onlyif' parameter: > > exec { "reload-squid": > command => "/etc/init.d/squid reload", > subscribe => Exec["check-squid"], > refreshonly => true, > onlyif => "/u

[Puppet Users] Re: subscribe and require with exec

2008-11-14 Thread RijilV
2008/11/13 Casey Deccio <[EMAIL PROTECTED]> > Hi, > > I'd like to be able to use subscribe with exec to refresh when files > change, but I'd like each refresh to be dependent on another exec--e.g., to > test configuration syntax. The closest I've been able to come is what I > have below (I've rem

[Puppet Users] Re: Facter is broken on Open Solaris (facter-1.5.2)

2008-11-14 Thread Andrew Wasilczuk
Parimi V. wrote: > # /usr/local/ruby/bin/facter > /usr/local/ruby-1.8.7-p72/lib/ruby/site_ruby/1.8/facter/ > operatingsystemrelease.rb:79: private method `chomp' called for > nil:NilClass (NoMethodError) > from /usr/local/ruby-1.8.7-p72/lib/ruby/site_ruby/1.8/facter/ > util/resolution.rb:1

[Puppet Users] subscribe and require with exec

2008-11-14 Thread Casey Deccio
Hi, I'd like to be able to use subscribe with exec to refresh when files change, but I'd like each refresh to be dependent on another exec--e.g., to test configuration syntax. The closest I've been able to come is what I have below (I've removed some of the rest of the detail), but the problem is

[Puppet Users] failsafe with exec using subscribe and/or require

2008-11-14 Thread Casey
Hi, I'd like to be able to use subscribe with exec to refresh when files change, but I'd like each refresh to be dependent on another exec-- e.g., to test configuration syntax. The closest I've been able to come is what I have below (I've removed some of the rest of the detail), but the problem

[Puppet Users] Facter is broken on Open Solaris (facter-1.5.2)

2008-11-14 Thread Parimi V.
# /usr/local/ruby/bin/facter /usr/local/ruby-1.8.7-p72/lib/ruby/site_ruby/1.8/facter/ operatingsystemrelease.rb:79: private method `chomp' called for nil:NilClass (NoMethodError) from /usr/local/ruby-1.8.7-p72/lib/ruby/site_ruby/1.8/facter/ util/resolution.rb:117:in `call' from /us

[Puppet Users] External_nodes definition not working. Client states "could not find node"

2008-11-14 Thread Kurt Bendlin
Hello folks, Im trying to migrate from static nodes-definition to external nodes definition. My script looks like this stolen from http://reductivelabs.com/trac/puppet/wiki/ExternalNodes: {{{ #!/usr/bin/perl -w use warnings; use YAML qw( Dump ); use Switch; #initialize vars our @classes;

[Puppet Users] Why no hostgroups parameter for nagios_host types?

2008-11-14 Thread Scott
Hi, so I'm trying to use the built in nagios_host type and there appears to be one huge glaring hole - the lack of a hostgroups parameter. And before anyone asks why I can't use the nagios_hostgroup type, if someone can tell me how I can collect members without having to manage the hostgroup memb