Re: [Puppet Users] Re: Strange messages on 0.25.4.

2010-02-23 Thread Patrick
On Feb 22, 2010, at 9:34 PM, Nobuchika Tanaka wrote: err: Could not resolve 10.72.150.56: undefined method `include?' for nil:NilClass err: Could not resolve 10.72.150.56: undefined method `include?' for nil:NilClass info: Could not find certificate for 'sol10tst1' err: Could not resolve

[Puppet Users] Re: Magazine article comparing CPU usage of Puppet vs. Cfengine

2010-02-23 Thread tobyriddell
Comparing CPU utilisation is like benchmarking cars by seeing how well they float. Without wanting to appear flippant, perhaps I want a floating car :) In my case I need a tool that *if* run during production hours will consume very little CPU - we've got very stringent requirements for

Re: [Puppet Users] Re: Magazine article comparing CPU usage of Puppet vs. Cfengine

2010-02-23 Thread Oliver Schad
Am Tuesday 23 February 2010 schrieb mir tobyriddell: Comparing CPU utilisation is like benchmarking cars by seeing how well they float. Without wanting to appear flippant, perhaps I want a floating car :) In my case I need a tool that *if* run during production hours will consume very

[Puppet Users] Re: Strange messages on 0.25.4.

2010-02-23 Thread Nobuchika Tanaka
Is 10.72.150.56 the client or the server? 10.72.150.56 is client and hostname is sol10tst1. mise is server. Also, what happ on each of them if you do an nslookup for 10.72.150.56?   Both of them can't connet server, because we are't using DNS. mise# nslookup 10.72.150.56 ;; connection timed

Re: [Puppet Users] Re: Magazine article comparing CPU usage of Puppet vs. Cfengine

2010-02-23 Thread Ohad Levy
On Tue, Feb 23, 2010 at 11:11 AM, Oliver Schad pup...@oschad.de wrote: Do you know process priorities? It's very easy to run puppet with this. Most CPUs has so much idle times that puppet is not a problem. The RAM usage could be a more significant problem in smaller systems. Using nice is

Re: [Puppet Users] Foreman isn't seeing my classes

2010-02-23 Thread Ohad Levy
Hi, Currently Foreman does not auto assign classes to your nodes (Except if you are already using an external nodes and then you can import them via a rake task). the main issue here is that I didnt think its a good idea to import all of the hosts classes (e.g. from storeconfig db) as a lot of

Re: [Puppet Users] Magazine article comparing CPU usage of Puppet vs. Cfengine

2010-02-23 Thread Aurelien Degremont
Hello When testing puppet scalability, we noticed that one bottleneck is CPU usage on puppetmaster node. To scale up the number of concurrent puppet clients running in the same time, we tweaked our puppet configuration in order to reduce puppetmaster work, mainly reducing its CPU work, and so

Re: [Puppet Users] Augeas type: Removing an entry from /etc/hosts

2010-02-23 Thread Paul Elliott
Hi David, On 22/02/10 19:25, David Lutterkort wrote: You can do this by looking for the entries with a single path expression: augtool match /files/etc/hosts/*[ipaddr = '127.0.1.1'] gives you all entries in /etc/hosts with that IP. To remove them, just do 'rm' instead of 'match'.

[Puppet Users] Re: Proper Augeas usage

2010-02-23 Thread Tim Stoop
Hi David, Thanks for your reply, it cleared up some things! On 22 feb, 20:35, David Lutterkort lut...@redhat.com wrote: You want to restrict when to make those changes with the onlyif paramater, something like         augeas { ...:           context = ...           changes = ...          

[Puppet Users] Re: Magazine article comparing CPU usage of Puppet vs. Cfengine

2010-02-23 Thread Tim Stoop
On 23 feb, 10:02, tobyriddell toby.ridd...@gmail.com wrote: From the results in the article, Puppet required between 10x and 56x more CPU seconds. Out of curiosity, which part of puppet is causing this load? If it's the puppetmaster, well then, that shouldn't be a big problem. I'd recommend a

[Puppet Users] Re: using (possibly) undefined out of scope variables in an erb template

2010-02-23 Thread Oded
Got it ! % classes.each do |current_class| -% % if has_variable?(current_class + ::iptable_rule_chain) then -% %= scope.lookupvar(current_class + ::iptable_rule_chain) % % end -% % end -% So easy ,all that time I was trying to use Bash style string concatenation , which for some strange reason

[Puppet Users] How to conditionally include classes based on environment?

2010-02-23 Thread ascodemus
Hi, I'm new to puppet (doing an assesment of the puppet features currently) and I believe many of you can tell me how to resolve these questions I'm unable to find answers for. I have the Pulling Strings with Puppet-book and have been crawling through the reductivelabs puppet wiki-pages without

[Puppet Users] Feature Request: Settable 'nice' value.

2010-02-23 Thread Trevor Vaughan
So, some of us would like to be able to set the nice value on puppetd. However, we don't want all of our services (and some of our execs) re-niced. Would it be feasible/practical to have the ability to set the nice value explicitly on Service and Exec calls? Thanks, Trevor -- Trevor Vaughan

Re: [Puppet Users] Augeas type: Removing an entry from /etc/hosts

2010-02-23 Thread Jesús Couto
On a tangent, anybody using augeas under puppet to manage /etc/sudoers? ... and how? I was thinking about doing so to add/delete several commands to an administrator group as part of setting up an apache/tomcat/whatever instance, but cant figure out how to do it, for reasons similar to this

[Puppet Users] Re: Magazine article comparing CPU usage of Puppet vs. Cfengine

2010-02-23 Thread tobyriddell
Out of curiosity, which part of puppet is causing this load? If it's the puppetmaster, well then, that shouldn't be a big problem. I'd recommend a dedicated puppetmaster in most setups anyway. Or when puppet is actually applying a whole manifest instead of just checking if things are set

[Puppet Users] Re: Magazine article comparing CPU usage of Puppet vs. Cfengine

2010-02-23 Thread tobyriddell
Also, this doesn't seem to be CPU load, just time.  It took puppet longer to apply a manifest than CFengine, I'm assuming they made the same changes on both systems and had both CFengine and puppet correct the same differences.  Wall clocks != higher load. The difference was found to be in

Re: [Puppet Users] Augeas type: Removing an entry from /etc/hosts

2010-02-23 Thread Rob McBroom
On Feb 23, 2010, at 7:37 AM, Jesús Couto wrote: On a tangent, anybody using augeas under puppet to manage /etc/sudoers? ... and how? I tried, but all I could get it to do was add the entries to the end of `/etc/sudoers` over and over every 30 minutes. I gave up and made a define that calls

Re: [Puppet Users] Re: Magazine article comparing CPU usage of Puppet vs. Cfengine

2010-02-23 Thread James Cammarata
On Tue, 23 Feb 2010 08:57:37 -0800 (PST), Tim Stoop tim.st...@gmail.com wrote: On 23 feb, 10:02, tobyriddell toby.ridd...@gmail.com wrote: From the results in the article, Puppet required between 10x and 56x more CPU seconds. Out of curiosity, which part of puppet is causing this load? If

Re: [Puppet Users] Re: Strange messages on 0.25.4.

2010-02-23 Thread Patrick
The only explanation that I can find that explains the problems that I and a few other user have been having is that 0.25.x adds a security feature that makes it needed during the creation of client certificates. (Either that or during the signing or retrieval of the certificates.) It could

Re: [Puppet Users] Re: Magazine article comparing CPU usage of Puppet vs. Cfengine

2010-02-23 Thread Lindsay Holmwood
On 23 February 2010 03:49, tobyriddell toby.ridd...@gmail.com wrote: Comparing CPU utilisation is like benchmarking cars by seeing how well they float. Without wanting to appear flippant, perhaps I want a floating car :) Then perhaps you should be looking for a boat? Puppet's performance and

Re: [Puppet Users] Foreman isn't seeing my classes

2010-02-23 Thread Andrew Dickson
I'm not currently using external nodes, but I could switch over if the functionality I'm looking for will work in that scenario... Either way, I would love a way to query for hosts that have a particular class, even if it's just an inherited class of some other class. That would be a great way

[Puppet Users] Announcing Puppetcamp Europe 2010 – May 27-28 in Ghent, Belgium - Open for registration

2010-02-23 Thread Scott Olson
Details on the event and registration can be found here: http://reductivelabs.com/2010/02/23/announcing-puppetcamp-europe-2010-may-27-28-in-ghent-belgium/ Hope to see you there. -- You received this message because you are subscribed to the Google Groups Puppet Users group. To post to this

Re: [Puppet Users] parsedfile provider documentation?

2010-02-23 Thread Frederik Wagner
Hi David, On Tue, Feb 23, 2010 at 1:09 AM, David Lutterkort lut...@redhat.com wrote: On Mon, 2010-02-22 at 10:45 +0100, Frederik Wagner wrote: MODULES_LOADED_ON_BOOT=module1 module2 My goal ist to have a type, which can append a module3 to this entry, or replace the whole list, etc. (to stay

[Puppet Users] Puppetcamp Europe 2010 - Call for submissions

2010-02-23 Thread Scott Olson
We are looking for great speakers for our Puppetcamp Europe event in Ghent, Belgium. Get details on submitting your proposal here: http://reductivelabs.com/2010/02/23/puppetcamp-europe-2010-call-for-submissions/ -- You received this message because you are subscribed to the Google Groups

[Puppet Users] Re: Magazine article comparing CPU usage of Puppet vs. Cfengine

2010-02-23 Thread Thomas Bellman
James Cammarata wrote: Also, this doesn't seem to be CPU load, just time. It took puppet longer to apply a manifest than CFengine, I'm assuming they made the same changes on both systems and had both CFengine and puppet correct the same differences. Wall clocks != higher load. In my opinion,

Re: [Puppet Users] Re: Magazine article comparing CPU usage of Puppet vs. Cfengine

2010-02-23 Thread Trevor Vaughan
Just out of curiosity, do the ones that take longer happen to be 64 bit? Also, does using --tags do what you want in terms of testing speed? Trevor On Tue, Feb 23, 2010 at 3:43 PM, Thomas Bellman bell...@nsc.liu.se wrote: James Cammarata wrote: Also, this doesn't seem to be CPU load, just

Re: [Puppet Users] Re: Magazine article comparing CPU usage of Puppet vs. Cfengine

2010-02-23 Thread Jeff McCune
On Tue, Feb 23, 2010 at 12:58 PM, tobyriddell toby.ridd...@gmail.com wrote: The result was either to add entries to /etc/hosts or to confirm the contents of /etc/hosts. I haven't read the article, but from this piece of information I'm _highly_ skeptical of the results having much to do with

Re: [Puppet Users] Re: Magazine article comparing CPU usage of Puppet vs. Cfengine

2010-02-23 Thread Disconnect
..or perhaps they used the native hosts type that exists to manage /etc/hosts entries? On Tue, Feb 23, 2010 at 5:55 PM, Jeff McCune mccune.j...@gmail.com wrote: On Tue, Feb 23, 2010 at 12:58 PM, tobyriddell toby.ridd...@gmail.com wrote: The result was either to add entries to /etc/hosts or

[Puppet Users] Re: Magazine article comparing CPU usage of Puppet vs. Cfengine

2010-02-23 Thread Thomas Bellman
Trevor Vaughan top-posted: Just out of curiosity, do the ones that take longer happen to be 64 bit? Well, yes, they are indeed 64 bit (x86_64). But that doesn't distinguish them from the quicker ones. They are all running CentOS 5.4 for x86_64, and they all have identical quad-core Opteron

Re: [Puppet Users] Re: Magazine article comparing CPU usage of Puppet vs. Cfengine

2010-02-23 Thread Jeff McCune
On Tue, Feb 23, 2010 at 6:23 PM, Disconnect dc.disconn...@gmail.com wrote: ..or perhaps they used the native hosts type that exists to manage /etc/hosts entries? Dooh, thank you. I wish I could remove the previous email to prevent my own misunderstanding from spreading. I should go read the

Re: [Puppet Users] Magazine article comparing CPU usage of Puppet vs. Cfengine

2010-02-23 Thread Andrew Heagle
On Monday 22 February 2010 16:17:52 Toby Riddell wrote: I received my copy of ;login (the Usenix magazine) today. There's an article* comparing CPU utilisation of Puppet and Cfengine. To abbreviate massively: Puppet requires much more CPU than Cfengine when both verifying and fixing

Re: [Puppet Users] Magazine article comparing CPU usage of Puppet vs. Cfengine

2010-02-23 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 23/02/10 8:23 PM, Andrew Heagle wrote: The version of CFEngine he is running is 3.0.1b3 (released ??? Jan or Feb '09, sometime, maybe?) The version of Puppet he is running is 0.24.7 (released 16-Dec-2008) It's also important to note the

[Puppet Users] /etc/hosts 'cname'?

2010-02-23 Thread Dick Davies
I want to use a CNAME as a level of indirection ( to point N webservers at the active mySQL replica). I'd like to use /etc/hosts to avoid the DNS propagation delays. I don't want to do away with DNS altogether though - is it possible to lookup a hostname and pass that IP to the hosts type?

[Puppet Users] Puppet's call to /sbin/service somehow different than calling from the command line?

2010-02-23 Thread Brian Ferris
Long shot question, but I'm running out of ideas... I'm running puppet-0.25.2 on Fedora boxes to manage a simple Java service started through an /etc/init.d script. I can start, stop, restart, and examine the service status using the standard /sbin/ service command. Works like a champ. The

Re: [Puppet Users] Puppet's call to /sbin/service somehow different than calling from the command line?

2010-02-23 Thread Craig Miskell
Does anyone have an ideas, hints, or even vague notions of why Puppet's service execution might be somehow different? I'm certainly out of ideas to try. One item you didn't mention in your list of things you've checked, so I'll bring it up: Environment variables. Don't know which ones