Re: [Puppet Users] Weird passenger problem

2011-09-02 Thread Marek Dohojda
Actually I just copied the apache from one to another (they are same version anyway); so it has to be identical. From: Scott Smith Sent: Thursday, September 01, 2011 6:55 PM To: puppet-users@googlegroups.com Subject: Re: [Puppet Users] Weird passenger problem md5sum your apache configs and

Re: [Puppet Users] Weird passenger problem

2011-09-02 Thread Denmat
Check the ownership of the config.ru. Can't remember if it has to be puppet or apache, but the puppet docs should tell you. Cheers Den On 02/09/2011, at 17:04, Marek Dohojda chro...@gmail.com wrote: Actually I just copied the apache from one to another (they are same version anyway); so it

Re: [Puppet Users] Managing dynamic instances with puppet

2011-09-02 Thread Ohad Levy
On 2011 9 1 18:44, Galed Friedmann galed.friedm...@onavo.com wrote: Hello, My organization is currently running a complete production environment on Amazon EC2, and I'm now trying to implement some automations and scaling with puppet. I have several instances which I want them to be almost

Re: [Puppet Users] Modules for Solaris

2011-09-02 Thread Mark
On 21 Jul 2011, at 19:02, John Lyman wrote: I would be especially interested if anyone has a good way to manage / etc/system. I am currently using the concat module, but it's not the best method. I know the puppet way would be to use augeas, but I haven't had any luck compiling it with sun

Re: [Puppet Users] Custom Facts

2011-09-02 Thread Matt Moor
On 2/09/11 3:03 PM, Douglas Garstang wrote: I really appreciate your reply, but I've inherited a mess that isn't easy to fix, and the most appropriate solution for right now isn't always the best solution. When the boss says GET IT DONE, you don't have time to refactor someone elses mess and

Re: [Puppet Users] Updating /etc/puppet ?

2011-09-02 Thread Christopher Wood
On Thu, Sep 01, 2011 at 09:07:37PM +0200, Reinoud van Leeuwen wrote: On Thu, Sep 01, 2011 at 11:58:04AM -0700, Russell Van Tassell wrote: I'm currently in the same position, and the solution I've proposed (and am currently working on) involves using a central repository (likely git). The

[Puppet Users] Puppet Newbie - Problem with Define

2011-09-02 Thread Mitch Anderson
I'm just starting out with puppet, and I'm trying to get one of the new environments I'm managing using puppet. The site is apache/php, so I've been trying to use one of the prewritten apache modules... without any luck... so I've ended up taking snippits of a few different ones... anyway, I'm

[Puppet Users] Puppet client dying without errors

2011-09-02 Thread Basil Baby
Few of my puppet clients (puppet 0.24.8, ruby 1.8.5, facter 1.5.2) are dying with out any error messages on on syslog. I cannot see much system resource usage on these nodes. What is the best way to troubleshoot the root cause of the problem? -Basil -- You received this message because you

[Puppet Users] Inherited 0.2.5 installation

2011-09-02 Thread genkuro
I inherited a 0.2.5 puppet installation. I'm totally new to puppet. No clue. I have managed clusters with ROCKS before. The big ideas translate readily. So maybe just half a clue. Out of curiosity, why the big version numbering jump for Puppet? The releases go from 0.x straight to 2.x.

Re: [Puppet Users] Reboot required?

2011-09-02 Thread Christopher Wood
On Fri, Sep 02, 2011 at 03:14:51AM -0700, Ryohei Suzuki wrote: Hi I have one question. I changed the manifest of a Puppet. Then, if you do not restart the Puppetmasterd, manifest did not run. What's the functional movements are correct? If I recall correctly, you should touch

Re: [Puppet Users] Puppet client dying without errors

2011-09-02 Thread Christopher Wood
On Thu, Sep 01, 2011 at 08:31:55PM -0400, Basil Baby wrote: Few of my puppet clients (puppet 0.24.8,� ruby 1.8.5, facter 1.5.2) are dying with out any error messages on on syslog.� I cannot see much system resource usage on these nodes. What is the best way to troubleshoot the

Re: [Puppet Users] Inherited 0.2.5 installation

2011-09-02 Thread James Turnbull
genkuro wrote: Out of curiosity, why the big version numbering jump for Puppet? The releases go from 0.x straight to 2.x. The big jump was because our release numbering was wrong - major feature-heavy releases occurred within minor release numbering. So when we had a chance we changed the

Re: [Puppet Users] Re: Composing a text file with Puppet

2011-09-02 Thread M C
Hi, thank you verymuch for the explanations. I will first try with a combination of replace = false and custom Line resource to see if I can easily concat and update my configuration file content. Matteo 2011/9/1 jcbollinger john.bollin...@stjude.org On Aug 31, 10:52 am, Brian Gallew

Re: [Puppet Users] Custom Facts

2011-09-02 Thread Aaron Grewell
In case you decide to go with an ENC, here's the one we use. It takes a YAML file for each host providing environment, classes, and parameters to be used. All node-specific data is kept in the same YAML file and either provided via the ENC or pulled in via Hiera at the class level.

[Puppet Users] Re: Puppet unable to find a defined resource.

2011-09-02 Thread Brad Krane
Then let's take a step back.  Your class is rather complicated, and all the details may be confusing (or even causing) the issue.  For example, you may have a nesting problem that is difficult to see in all that code.  I suggest putting each 'define' in its own file to help make things

[Puppet Users] Re: Puppet unable to find a defined resource.

2011-09-02 Thread Brad Krane
I have spoken too soon about the nil value causing the problem. When I set the default value from nil to something the error came back. It seems that just using a hash value in the name to be expanded is what the real issue is. -- You received this message because you are subscribed to the

Re: [Puppet Users] Custom Facts

2011-09-02 Thread Douglas Garstang
On Thu, Sep 1, 2011 at 10:30 PM, Matt Moor m...@imprecise.org wrote: On 2/09/11 3:03 PM, Douglas Garstang wrote: I really appreciate your reply, but I've inherited a mess that isn't easy to fix, and the most appropriate solution for right now isn't always the best solution. When the boss

[Puppet Users] Re: Puppet unable to find a defined resource.

2011-09-02 Thread Brad Krane
Here is a very simple manifest that recreates this error: class foo { define bar ( $val ) { notice(bar($val)) } } $some_hash = { 'name' = some_name } foo::bar { $some_hash['name']: } Puppet::Parser::AST::Resource failed with error ArgumentError: Invalid resource type foo::bar at

Re: [Puppet Users] Custom Facts

2011-09-02 Thread R.I.Pienaar
- Original Message - At the end of the day, this all seems to be a limitation with mcollective. It can only read facts from one source, either facter or a yaml file. I believe facter is the current source, and people have written scripts that rely on that. I can write a custom

Re: [Puppet Users] Weird passenger problem

2011-09-02 Thread Marek Dohojda
OK so I solved the problem; apparently the config.ru was corrupt/wrong (not sure exactly). The permissions were fine, but apparently the content was wrong. I made a copy from a working server and everything started to work fine. Thank you Den you pointed me towards the right solution. On Fri,

Re: [Puppet Users] Custom Facts

2011-09-02 Thread Douglas Garstang
On Fri, Sep 2, 2011 at 11:26 AM, R.I.Pienaar r...@devco.net wrote: - Original Message - At the end of the day, this all seems to be a limitation with mcollective. It can only read facts from one source, either facter or a yaml file. I believe facter is the current source, and

[Puppet Users] Sourcing node variables

2011-09-02 Thread Douglas Garstang
So... a general question. When sourcing node variables, what is the better approach... a) In each module included by the node, use something like extlookup to get the variables you need, as you need them, OR b) Have your external node script gather and dump _all_ the variables the the node may

Re: [Puppet Users] Custom Facts

2011-09-02 Thread Douglas Garstang
On Fri, Sep 2, 2011 at 12:06 PM, Douglas Garstang doug.garst...@gmail.comwrote: On Fri, Sep 2, 2011 at 11:26 AM, R.I.Pienaar r...@devco.net wrote: - Original Message - At the end of the day, this all seems to be a limitation with mcollective. It can only read facts from one

[Puppet Users] Re: Puppet Newbie - Problem with Define

2011-09-02 Thread Mitch Anderson
On Sep 2, 10:46 am, Peter Bukowinski pmb...@gmail.com wrote: On Friday, September 2, 2011 at 10:46 AM, Mitch Anderson wrote: I'm just starting out with puppet, and I'm trying to get one of the new environments I'm managing using puppet. The site is apache/php, so I've been trying to use one

Re: [Puppet Users] Re: Puppet unable to find a defined resource.

2011-09-02 Thread Paul Nguyen
I'm also seeing the same problem I believe. I'm running on the following puppet 2.7.3 ruby 1.8.5 centos 5 I have a defined resource in the module called accounts class accounts::virtual { define createsysuser ($val) { ... } } In another class in the same module, I

Re: [Puppet Users] Inherited 0.2.5 installation

2011-09-02 Thread Edward Savage
On Sat, Sep 3, 2011 at 1:00 AM, genkuro genk...@gmail.com wrote: I'm guessing the 0.2.5 - 2.x migration must be common.  Can I expect this to be a slam dunk? We recently did a large (100 nodes) migration from 0.25 to 2.6. The biggest issue was ensuring all our modules worked without any