Re: [Puppet Users] which is more efficient?

2010-07-02 Thread Jeff McCune
On Wed, Jun 30, 2010 at 11:57 AM, Brice Figureau brice-pup...@daysofwonder.com wrote: On 30/06/10 20:48, Marcus, Allan B wrote: We need to put a script into /usr/local/bin. Which is more efficient, put the text into a variable and use content =, or put the file on the puppetmaster server and

[Puppet Users] which is more efficient?

2010-06-30 Thread Marcus, Allan B
We need to put a script into /usr/local/bin. Which is more efficient, put the text into a variable and use content =, or put the file on the puppetmaster server and use source = --- Thanks, Allan Marcus 505-667-5666 A carrot may work better than a stick, but only if the carrot is big enough

Re: [Puppet Users] which is more efficient?

2010-06-30 Thread Brice Figureau
On 30/06/10 20:48, Marcus, Allan B wrote: We need to put a script into /usr/local/bin. Which is more efficient, put the text into a variable and use content =, or put the file on the puppetmaster server and use source = Definitely source. Because most of the time the script won't be

[Puppet Users] which is more efficient?

2010-06-30 Thread Steven VanDevender
Marcus, Allan B writes: We need to put a script into /usr/local/bin. Which is more efficient, put the text into a variable and use content =, or put the file on the puppetmaster server and use source = Why do you care about the efficiency of this? It's more important to make things easier

Re: [Puppet Users] which is more efficient?

2010-06-30 Thread Marcus, Allan B
With over two thousand client hitting one server, and plans to grow to about 5000, efficiency is important. --- Thanks, Allan Marcus 505-667-5666 A carrot may work better than a stick, but only if the carrot is big enough and it doesn't break when you hit people with it. On Jun 30, 2010, at

Re: [Puppet Users] which is more efficient?

2010-06-30 Thread Patrick Mohr
I'd say that this way lies madness. Just do whatever gives you maintainability. The way that you source a file isn't going to make or break your server. (Unless you start embedding huge files in your manifest.) If small changes like this will break your server, your server will die the

Re: [Puppet Users] which is more efficient?

2010-06-30 Thread Marcus, Allan B
we are running at about 10-15% processor usage now, so it ain't even close to make or break. We run MySQL and apache on the same box too, so we can split them off if we need to. I was just wondering if one way was significantly more efficient than the other. --- Thanks, Allan Marcus