Re: [Puppet Users] auth.conf in puppet 2.6 with Apache + Passenger

2010-08-18 Thread Patrick Mohr
On Aug 17, 2010, at 9:51 PM, Sven Schott wrote: > The config file said those were only used with mongrel so I didn't uncomment > them. However, after fiddling for while I found that I had missed the exact > same thing on the apache virtual hosts config. The following lines were > missing: > >

[Puppet Users] custom functions from a module in a different environment

2010-08-18 Thread Darren Worrall
Hey folks, I have just created a puppet environment called testing by adding the following to puppet.conf on the puppetmaster: [testing] manifest = /etc/puppet/testing/manifests/site.pp modulepath = /etc/puppet/testing/modules We are collecting all our customisations into a module, let

Re: [Puppet Users] auth.conf in puppet 2.6 with Apache + Passenger

2010-08-18 Thread Sven Schott
Ah, cool. That kind of information is good to know. I have to redo all this anyway (this is our dev build) so under the hood info is great. Thanks again! On Wed, Aug 18, 2010 at 6:28 PM, Patrick Mohr wrote: > > On Aug 17, 2010, at 9:51 PM, Sven Schott wrote: > > The config file said those were o

[Puppet Users] nginx - mongrel - fair proxy balancer

2010-08-18 Thread Peter Meier
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi I recently came across http://www.brainspl.at/articles/2007/11/09/a-fair-proxy-balancer-for-nginx-and-mongrel and wanted to share the experience with it: I tested it on my nginx-mongrel setup and it improved the speed of my client runs heavily. If

Re: [Puppet Users] nginx - mongrel - fair proxy balancer

2010-08-18 Thread Brice Figureau
On Wed, 2010-08-18 at 14:55 +0200, Peter Meier wrote: > I recently came across > http://www.brainspl.at/articles/2007/11/09/a-fair-proxy-balancer-for-nginx-and-mongrel > and wanted to share the experience with it: > > I tested it on my nginx-mongrel setup and it improved the speed of my > client r

Re: [Puppet Users] custom functions from a module in a different environment

2010-08-18 Thread Dan Bode
This feature is not supported until 2.6 (and I have seen some issues with 2.6 http://projects.puppetlabs.com/issues/4409) . I would recommend either: 1. trying your use case with 2.6 2. keep a single copy of your plugins in the puppetmaster's modulepath. hope this helps, Dan On Wed, Aug 18, 2

[Puppet Users] info: Retrieving plugin, err: /File[/var/lib/puppet/lib]: Failed to generate additional resources using 'eval_generate': undefined method `closed?' for nil:NilClass

2010-08-18 Thread EricL
I'm not really sure the problem is a Plugin problem!! Note than a puppet client was installed, i change the setting of ip/hosname and try to re inscription the node to puppetmaster. I would like to understand what happen. The errors/warnings messages are not very easy to understand and sometime

[Puppet Users] Re: Immediate puppetrun with splay

2010-08-18 Thread Rustler
Add --onetime That works for me. On Aug 17, 9:42 am, Bernhard Miklautz wrote: > Hi, > > when splay is enabled on a client and a run is triggered with puppetrun, > a new random time is picked before the run is started (second last and > last line): > > puppetd  --no-daemonize --verbose > info:

[Puppet Users] Re: Immediate puppetrun with splay

2010-08-18 Thread Rustler
Just to clarify - the "--onetime" is for testing. On Aug 18, 4:16 pm, Rustler wrote: > Add --onetime > > That works for me. > > On Aug 17, 9:42 am, Bernhard Miklautz > wrote: > > > Hi, > > > when splay is enabled on a client and a run is triggered with puppetrun, > > a new random time is picked

[Puppet Users] Downloading files to Puppet clients from HTTP Server

2010-08-18 Thread Ahmed El Gamil
Hi, I was working on some puppet recipe and came to the need where i want to download a file from an HTTP server, usually i use the "file" resource type with the "source" parameter to push files to the clients, but in this situation i just need to download the file directly from the HTTP server to

Re: [Puppet Users] Downloading files to Puppet clients from HTTP Server

2010-08-18 Thread Darren Chamberlain
* Ahmed El Gamil [2010/08/18 17:17]: > I was working on some puppet recipe and came to the need where i > want to download a file from an HTTP server, usually i use the > "file" resource type with the "source" parameter to push files to > the clients, but in this situation i just need to download

[Puppet Users] How to change the node's class or groups

2010-08-18 Thread Timo Seven
Hi all: I install puppet version 2.6 and puppet dashboard 1.0.3. When I change one node's class or groups, it is invalid。 I also can add new class and groups. But no nodes can be in these class or groups. So I insert a node in a class under mysql like "insert into node_class_memberships val

[Puppet Users] Re: How to change the node's class or groups

2010-08-18 Thread Timo Seven
follow is the log Processing NodesController#update (for 10.1.41.81 at 2010-08-19 13:45:53) [PUT] Parameters: {"node"=>{"name"=>"puppet.timo.com", "node_group_names"=>[" "], "parameter_attributes"=>[{"value"=>"", "key"=>""}], "node_class_names"=>[" "], "description"=>""}, "action"=>"update"