Re: [Puppet Users] Puppet report server

2010-07-08 Thread Rob McBroom
On Jul 7, 2010, at 6:25 PM, Psyber wrote:

 I was looking into the reporting features in puppet today and realized
 that though I want the reports I don't want to bog my puppetmasters
 down with the task of generating the rrd and png files.

I can’t answer your question, but for what its worth - our Puppetmaster is 
doing reporting along with all kinds of other unrelated crap and it’s fine. 
Seriously, the thing sits idle. And this is an old box with 4 GB of memory. I 
wouldn’t worry about it.

We are using Passenger, but it was a proactive move. We didn’t see any load 
problems before we switched.

-- 
Rob McBroom
http://www.skurfer.com/


-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[Puppet Users] managing php pecl modules

2010-07-08 Thread Jon Charette
Does anyone have a module that handles pecl effectively?

Thanks much.
-Jon.

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] Re: Splitting classes into separate files

2010-07-08 Thread Douglas Garstang
On Wed, Jul 7, 2010 at 12:15 AM, Luke Kanies l...@puppetlabs.com wrote:
 On Jul 5, 2010, at 4:14 PM, Douglas Garstang wrote:

 On Mon, Jul 5, 2010 at 4:00 PM, Peter Meier peter.me...@immerda.ch
 wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1

 In this module, if you use the following orginization puppet will
 autoload everything:

 manifests/init.pp contains class apache { }
 manifests/disable.pp contains class apache::disable inherits apache {}
 manifests/virtualhost.pp contains define apache::virtualhost(){}

 Really? Are you serious???. Why is puppet dictating to me that it will
 only autoload classes if I have a class named module::disable,
 module::virtualhost? Who's idea was that and why? This seems awfully
 arbitrary.

 on what other basis should puppet then autoload classes/defines?

 Let me try this again.

 Your saying that unless my module contains a class specifically called
 $module::disable.pp (and therefore a filed called 'disable.pp' in
 manifests), then puppet will not autoload anything? I just got it to
 work without such a class in a module. All I had to do was throw a
 bunch of files in $module/manifests/, include $module::something and
 it worked.

 Where is this documented?

 Just to be more clear:

 Nowhere does Puppet require that you have those files specifically.

 However, *if* you want Puppet to autoload a class named '$module::foo', then
 that class must either be in the module's init.pp file or in a class named
 'foo.pp' in that module's 'manifests' directory.

 There was clearly some confusion on specificity here - an example was being
 used, but it wasn't meant to say that all classes had to look like that.

*whew* Thanks.

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] Variable Scoping: What do you want?

2010-07-08 Thread Joe McDonagh

On 07/02/2010 04:45 AM, David Schmitt wrote:

On 6/30/2010 1:47 AM, Joe McDonagh wrote:

Also, it would be *huge* to be able to append to vars. Right now I open
fw ports via a variable in the node def like:

$open_tcp_ports = 22,443

If I could always open 22 in the node def, but += inside classes for
httpd, nfs, etc. things would be nice. I'm guessing this might be a
little difficult because all the variables in the catalog would have to
be assembled before applying the catalog.


Please model your ports as resources:

fw::port { 20: ensure = open }

Even if this only drops a concat snippet somewhere, this is brings you 
so much benefits I don't know where to start.



Best Regards, David
This brings nothing to the table for me and means I would have to add a 
ridiculous amount of puppet code and risk breaking all of production.


--
Joe McDonagh
AIM: YoosingYoonickz
IRC: joe-mac on freenode
When the going gets weird, the weird turn pro.

--
You received this message because you are subscribed to the Google Groups Puppet 
Users group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



[Puppet Users] Re: managing php pecl modules

2010-07-08 Thread Garrett Honeycutt
On Jul 8, 7:25 am, Jon Charette jon.chare...@gmail.com wrote:
 Does anyone have a module that handles pecl effectively?

 Thanks much.
 -Jon.

Feature request #2926[1] deals with this and has links to some code
that may help you.

How I have been handling this is to find/create a package using the
systems native package management utilities and install them like any
other package. This is done because having multiple package handlers
(yum, gem, pecl, etc) on one system is an administrative headache. For
reference, I am currently doing this with the memcache pecl module in
my php::memcached class[2].

[1] - http://projects.puppetlabs.com/issues/2926
[2] - http://forge.puppetlabs.com/ghoneycutt/php

-g

-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.



Re: [Puppet Users] managing php pecl modules

2010-07-08 Thread Marc Fournier
On Thu, 8 Jul 2010 10:25:52 -0400
Jon Charette jon.chare...@gmail.com wrote:

 Does anyone have a module that handles pecl effectively?

More a side note, but if you happen to be using debian or a derivative,
you might want to checkout dh-make-php, and use the dh-make-pecl script
to build regular .deb packages you can handle with the package type.

Marc


-- 
You received this message because you are subscribed to the Google Groups 
Puppet Users group.
To post to this group, send email to puppet-us...@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.