Re: [Puppet Users] Re: Upgraded puppet-server from EPEL 24.8 to 25.1 - now seeing puppetmasterd[xxxx]: Too many connections

2010-03-08 Thread Matt
Out of interest Mark, how did you go about disabling all modules bar puppet? Matt On 8 March 2010 02:07, Mark Christian supertr...@gmail.com wrote: Thanks for the suggestion. I've set storeconfigs = false, it's been a couple hours and I've yet to see any too many connections errors. On Mar

Re: [Puppet Users] Using Puppet for application deployment

2010-03-08 Thread Joe McDonagh
Pete Emerson wrote: I'm using puppet to deploy new versions of our application to our server instances. I do this by having a custom puppet node classifier that talks to a database that defines what version of an application is supposed to be on a particular node: parameters: application:

Re: [Puppet Users] Using Puppet for application deployment

2010-03-08 Thread Julian Simpson
Given that there are so many ways to skin the same cat, I'm wondering how others are doing their application deployments using Puppet. Or, if you are using Puppet but do your app deployments via some other mechanism, how do you do it, and why aren't you using Puppet to do it? Pete I

[Puppet Users] $title as default value for argument in defintion

2010-03-08 Thread robert.gstoehl
Hey there, I'd like to provide a definition with an argument which is optional and defaults to the title: net::route_default{first: gateway = 192.168.0.1} or the shortcut: net::route_default{192.168.0.1} class net { define route_default($gateway=$title) { exec {echo $gateway

Re: [Puppet Users] $title as default value for argument in defintion

2010-03-08 Thread Thomas Bellman
robert.gstoehl wrote: I'd like to provide a definition with an argument which is optional and defaults to the title: net::route_default{first: gateway = 192.168.0.1} or the shortcut: net::route_default{192.168.0.1} Do it like this: define route_default($gateway=) { if

Re: [Puppet Users] Re: Correct user management across modules

2010-03-08 Thread Michael Gliwinski
On Friday 26 Feb 2010 19:43:22 jcbollinger wrote: Come to think of it, the issue of using virtual resources is orthogonal to that of overriding resource properties. You don't need to make your users virtual to override their parameters, but you do need to put the override into a subclass of

[Puppet Users] Puppet books.

2010-03-08 Thread Friedrich Clausen
Hi All, From what I have read the defacto tome seems to be Pulling Strings with Puppet by James Turnbull. Is this still the best reference? I notice it was published in 2008 so it might be out of date. I can also just read the regular docs on the site but I like the way books are written - it

Re: [Puppet Users] Nagios based on David Schmitt's Complete Config : variables are empty

2010-03-08 Thread David Schmitt
On 3/2/2010 4:40 PM, Joe McDonagh wrote: gehel wrote: Hello ! I'm trying to implement a Nagios solution based on David Schmitt's Complete Config. But I the following error when running puppetd -t - v : notice: Starting catalog run err:

[Puppet Users] mongrel + puppet + httpd

2010-03-08 Thread charles caloone
Hello, My configuration doesn't work ! I can't sign certificate with puppetca using mongrel + httpd. OS : CentOS 5.3 puppet, puppetserver 0.25 httpd-2.2.3-22.el5.centos.1 httpd-devel-2.2.3-22.el5.centos.1 rubygem-mongrel_cluster-1.0.5-2.el5 rubygem-mongrel-1.0.1-6.el5 # cat

[Puppet Users] Re: $title as default value for argument in defintion

2010-03-08 Thread robert.gstoehl
makes sense, thanks Robert On Mar 8, 4:19 pm, Thomas Bellman bell...@nsc.liu.se wrote: robert.gstoehl wrote: I'd like to provide a definition with an argument which is optional and defaults to the title: net::route_default{first: gateway = 192.168.0.1} or the shortcut:

Re: [Puppet Users] Puppet books.

2010-03-08 Thread Daniel Kerwin
By now Pulling String with Puppet is the only book i know. There will be another book from James: http://www.apress.com/book/view/1430230576 I read Pulling Strings... and it's still a good reference. Combined with the latest docs you'll get things done. On Mon, Mar 8, 2010 at 5:03 PM, Friedrich

[Puppet Users] Puppet HackDay in Delhi, India this weekend March 13 14

2010-03-08 Thread Scott Olson
If you are near Delhi, India this weekend, you should check out Puppet HackDay. Luke Kanies will be speaking remotely. Get all the details on our blog: http://reductivelabs.com/2010/03/08/puppet-hackday-delhi-coming-this-weekend-march-13-14/ -- You received this message because you are

Re: [Puppet Users] Puppet HackDay in Delhi, India this weekend March 13 14

2010-03-08 Thread Mr Gabriel
Can other non delhi residents take part somehow?? I'd really like to see any media regarding puppet! --- Kind Regards, Mr Gabriel (bberry mail) -Original Message- From: Scott Olson sc...@mindlinkmarketing.com Date: Mon, 8 Mar 2010 09:32:17 To: Puppet Userspuppet-users@googlegroups.com

[Puppet Users] Recent Func changes to make Func work better with Puppet

2010-03-08 Thread Michael DeHaan
For those of you using both Func and Puppet (perhaps to kick off Puppetruns, or otherwise to just run arbitrary commands 'now' like shutdown, reboot, etc), Seth Vidal recently added some changes that make Func be able to use Puppet certs as an option. This should be a lot easier as then you don't

[Puppet Users] memorysize returned as string - maybe

2010-03-08 Thread John Cesario
On version 0.25.4 for both server and client. Trying to do some logic around the $memorysize fact. if ($memorysize 15360) and ($memorysize 112640) { $tmpfs_size = 6G } else { $tmpfs_size = 8G } Returns err: Could not retrieve catalog from remote server: Error 400 on SERVER:

Re: [Puppet Users] Using Puppet for application deployment

2010-03-08 Thread Michael DeHaan
On Mon, Mar 8, 2010 at 9:46 AM, Julian Simpson simpsonjul...@gmail.com wrote: Given that there are so many ways to skin the same cat, I'm wondering how others are doing their application deployments using Puppet. Or, if you are using Puppet but do your app deployments via some other

[Puppet Users] Re: memorysize returned as string - maybe

2010-03-08 Thread John
Ok some more investigation turned up some more questions. So it seems memorysize is returned with a unit of measurement suffix added to it My question to the puppet mailing list would be. How would you use memory size fact in puppet while keeping in mind that we could be talking MB or GB?

[Puppet Users] Re: Upgraded puppet-server from EPEL 24.8 to 25.1 - now seeing puppetmasterd[xxxx]: Too many connections

2010-03-08 Thread Mark Christian
As far as disabling modules is concerned. The way I've organized my manifests allows me to quickly comment out the various include someclass entries per system role or hostgroup. The following works for my environment and is not necessarily considered best practice. For example, I might have a

Re: [Puppet Users] Re: memorysize returned as string - maybe

2010-03-08 Thread Doug Warner
I wrote a memorysize_mb fact to solve this problem; this ensures the number returned is only an integer value. $ cat memorysize_mb.rb require 'facter' Facter.add(memorysize_mb) do confine :kernel = :Linux ram = 0 # Steal linux's meminfo File.open( /proc/meminfo , 'r' ) do |f|

Re: [Puppet Users] Using Puppet for application deployment

2010-03-08 Thread Julian Simpson
Can you share some examples of where your dividing line is and some of the tasks that are hard to handle in Puppet today? Here's how it worked: http://www.build-doctor.com/2009/12/09/dependency-hell/ Mainly, it was there to complement the lack of Rubygem dependencies, but it meant that

[Puppet Users] DNS issues?

2010-03-08 Thread Brian Keifer
I'm just starting out with puppet and have been seeing problems very similar to those in ticket #3083: http://projects.reductivelabs.com/issues/3083 First, an overview of my configuration. I have three physical servers, each running puppet 0.25.4. One of the servers is going to be my

Re: [Puppet Users] DNS issues?

2010-03-08 Thread Dan Bode
Hi Brian, On Mon, Mar 8, 2010 at 2:35 PM, Brian Keifer br...@valinor.net wrote: I'm just starting out with puppet and have been seeing problems very similar to those in ticket #3083: http://projects.reductivelabs.com/issues/3083 First, an overview of my configuration. I have three

[Puppet Users] puppet-dasboard reporting working but deleting node classes

2010-03-08 Thread Karl Bowden
Hi guys, Just want to check if this is the intended behaviour of puppet-dashboard before submitting a bug report. Running Ubuntu 9.10, puppet 0.25.4 on passenger, puppet-dashboard latest from github using WEBrick. puppet-dashboard is running as an external node provider and puppetmasterd has

Re: [Puppet Users] puppet-dasboard reporting working but deleting node classes

2010-03-08 Thread Dan Bode
On Mon, Mar 8, 2010 at 10:34 PM, Karl Bowden karlbow...@gmail.com wrote: Hi guys, Just want to check if this is the intended behaviour of puppet-dashboard before submitting a bug report. Running Ubuntu 9.10, puppet 0.25.4 on passenger, puppet-dashboard latest from github using WEBrick.

Re: [Puppet Users] puppet-dasboard reporting working but deleting node classes

2010-03-08 Thread Karl Bowden
On further trial and error, it's deleting all class and group relationships that node has. Parameters are left intact. It does not delete the actual classes or groups, just dereferences them from the node. I have tested it with multiple classes and groups assigned to a node and they all get

[Puppet Users] Tons of configuration version reports

2010-03-08 Thread Kent Rankin
Now, even though no changes have occurred, I'm getting a report like this every time it runs: Tue Mar 09 00:51:25 -0500 2010 Puppet (info): Applying configuration version '1268079838' What am I to do? Thanks. -- You received this message because you are subscribed to the Google Groups