[Puppet Users] Re: Puppet Dashboard

2013-03-01 Thread siva kumar
Dear Niraj, Could you please share the steps to configure the puppet dashboard... pre/post configuration details. Did we need to setup new web/mysql servers? On Wednesday, April 4, 2012 5:57:00 PM UTC+5:30, niraj wrote: > > Hi All, > I have somehow managed to configure the puppet dashbo

[Puppet Users] Re: Puppet-dashboard(open source)

2013-03-01 Thread siva kumar
Dear Garg, Could you pleas share steps to install and configure Puppet-dashboard(open source). Thanks & Regards, Shivs On Tuesday, February 19, 2013 2:45:48 PM UTC+5:30, Mamta Garg wrote: > > Hi , > > I am working with puppet open source.I have setup puppet dashboard. > But its is not show

Re: [Puppet Users] Pattern for managing software versions?

2013-03-01 Thread Brendan O'Bra
I use hiera to externalize the versions, like this: package{'jdk': ensure => hiera('jdk_version','present'), require => [ YumRepo['someyumrepo'] ], } And then just deliver yaml based on environment/version/whatever On Fri, Mar 1, 2013 at 4:42 PM, Schofield wrote: > I am curious to g

[Puppet Users] Pattern for managing software versions?

2013-03-01 Thread Schofield
I am curious to get the opinion of the community on how people successfully manage software versions in their puppet modules. Personally I have adopted the profile/role pattern and have the need to support many different combinations of java based middleware. My puppet environment has evolve

[Puppet Users] Re: Long puppet catalog run times on certain nodes after "using pson" is called

2013-03-01 Thread r.yeo
Passenger settings are currently - PassengerHighPerformance on PassengerUseGlobalQueue on PassengerMaxPoolSize 3 PassengerMaxRequests 1000 PassengerPoolIdleTime 1800 I have run an strace (aka dtruss since these are on OS X clients mostly). I am seeing this in huge blocks (100s) on the nodes hav

[Puppet Users] Re: Can puppet report the console output from service foo status?

2013-03-01 Thread Ellison Marks
Post the actual manifest, or we can only offer conjectures. On Friday, March 1, 2013 11:20:26 AM UTC-8, Larry Fast wrote: > > I have an odd problem. The first time I install my new package, puppet > comes back with "Execution of '/sbin/service chirp_fe start' returned 1:" > When I run this com

[Puppet Users] Re: Package and unless

2013-03-01 Thread Ellison Marks
The unless parameter is only accepted by the exec resource. You're trying to use it in a package resource, and thus the error you're getting. You sort of need to make sure that the class that this resource is enclosed in is only include'd on those nodes that need it. On Friday, March 1, 2013 12

Re: [Puppet Users] Weird problem with puppet 3.1 on Windows

2013-03-01 Thread Josh Cooper
On Fri, Mar 1, 2013 at 7:18 AM, Yoav Zuri wrote: > Hi, > > Where can I set the runinterval? > > Yoav. > > On Friday, March 1, 2013 9:00:11 AM UTC+2, Josh Cooper wrote: >> >> >> >> >> On Wed, Feb 27, 2013 at 2:53 PM, Yoav Zuri wrote: >> >>> Hi all, >>> >>> I'm installing the latest version of pup

Re: [Puppet Users] Puppet execution hangs for long periods of time

2013-03-01 Thread Josh Cooper
On Fri, Mar 1, 2013 at 11:25 AM, Olivier Trempe wrote: > Ok, > > I used this tool: StraceNT > > So when it first hangs, I got loads of: > > [T4168] WahReferenceContextByHandle(45718, 5f8, 2416954, 71ab4762, ...) > [T4168] InterlockedExchangeAdd(45840, 2, 2416088, 24166ec, ...) = 46 > [T4168] Inter

Re: [Puppet Users] Package and unless

2013-03-01 Thread Stephen Gran
Hello, First, the manifest is compiled on the master, not the agent, so that test isn't being run where I think you want it to be run. Second, you want the language guide: http://docs.puppetlabs.com/guides/language_guide.html#conditionals You should wrap the resource in your test. What you real

[Puppet Users] Package and unless

2013-03-01 Thread Tiago Cruz
Hello all! I would like to install one package, but only with some condition was ok, like: package { "nagios-plugins-basic": ensure => "1.4.15-personal1", unless => "test `ls -ld /opt/nrpe* 2>/dev/null | wc -l` -ge 1", } but this not work =/ Could not retrieve catalog from remote se

[Puppet Users] Can puppet report the console output from service foo status?

2013-03-01 Thread Larry Fast
I have an odd problem. The first time I install my new package, puppet comes back with "Execution of '/sbin/service chirp_fe start' returned 1:" When I run this command manually and on all subsequent puppet runs it succeeds. So I'm looking for a way to capture the console output from the in

Re: [Puppet Users] Puppet execution hangs for long periods of time

2013-03-01 Thread Olivier Trempe
Ok, I used this tool: StraceNT So when it first hangs, I got loads of: [T4168] WahReferenceContextByHandle(45718, 5f8, 2416954, 71ab4762, ...) [T4168] InterlockedExchangeAdd(45840, 2, 2416088, 24166ec, ...) = 46 [T4168] InterlockedExchangeAdd(45844, 2, 2416088, 24166ec, ...) = 47 = 0 [T4168] Ge

[Puppet Users] Re: expect like behavior function?

2013-03-01 Thread Corey Osman
Wow, I have never even heard of true or yes programs. Echo "Y" is also a good solution. My friend also noted there was a quite mode available. If your curious here are all the suggestions I and the forum came up with: 1. Look for a quiet mode 2. Look for a "answer file" option 3. Modify the in

[Puppet Users] Re: Puppet experience better in Fedora 17 or Fedora 18?

2013-03-01 Thread thyrsus
Follow up: The patch I mentioned is in 2.7.18, available from Fedora updates, but what I had Cobbler installing was the 2.7.13 from the original Everything repository (it's not in the Fedora repository). I added an updates repository to cobbler, containing the 2.7.18 version and the dependenci

Re: [Puppet Users] Re: PuppetDB queue problem

2013-03-01 Thread ak0ska
Yes, maybe not. The next step will be to recreate it from scratch. On Friday, March 1, 2013 5:47:06 PM UTC+1, Ken Barber wrote: > > > Well, I don't think a vacuum will help you - I imagine something is > wrong with the schema right now or some data migration failed during > upgrade. Esp. if you

Re: [Puppet Users] Re: PuppetDB queue problem

2013-03-01 Thread Ken Barber
> I made a backup today, to have a fresh one before we start the database > maintenance. The structurally wrong might not be so far fetched, since we > didn't upgrade from an official 1.0.2 release. My colleague got a patched > version (don't know the details, and can't ask now, as he's on holiday)

Re: [Puppet Users] Re: PuppetDB queue problem

2013-03-01 Thread ak0ska
On Friday, March 1, 2013 3:36:20 PM UTC+1, Ken Barber wrote: > > Oh - and a copy of the current dead letter queue would be nice, its > normally stored in: > > /var/lib/puppetdb/mq/discarded/* > I will back it up. > This should also contain the full exceptions for the failed SQL as I > me

[Puppet Users] troubleshooting missing facts when run as service?

2013-03-01 Thread Eugene Vilensky
Hello, Hello, RHEL6 x86_64, Puppet master 2.7.18, clients 2.7.19. One of my nodes reports: Could not retrieve catalog from remote server: Error 400 on SERVER: Duplicate declaration: Package[undef] is already declared in file /etc/puppet/modules/initial_config/manifests/basic_packages.pp at li

Re: [Puppet Users] Re: Long puppet catalog run times on certain nodes after "using pson" is called

2013-03-01 Thread Brice Figureau
On Thu, 2013-02-28 at 10:16 -0800, r.yeo wrote: > Architecture of PM is Ubuntu 12.04 in a VM with 8GB of RAM (4.7GB > used) with Apache 2.2 as the front end. > > No network bottlenecks that I have been able to identify and the nodes > this is happening on seem to be random. Different buildings on

Re: [Puppet Users] Weird problem with puppet 3.1 on Windows

2013-03-01 Thread Yoav Zuri
Hi, Where can I set the runinterval? Yoav. On Friday, March 1, 2013 9:00:11 AM UTC+2, Josh Cooper wrote: > > > > > On Wed, Feb 27, 2013 at 2:53 PM, Yoav Zuri > > wrote: > >> Hi all, >> >> I'm installing the latest version of puppet (opensource) for Windows on >> Windows 2008 Server (At Amazon

[Puppet Users] Re: Does Puppet agent close file descriptors on exec / service start?

2013-03-01 Thread jcbollinger
On Thursday, February 28, 2013 3:35:24 PM UTC-6, Rajul Vora wrote: > > > I have a start/stop script which does something like this for the start > command: > > program1 & > program2 start > > > program1 further launches other processes. > > I have used 'exec' and 'service' resources to start/sto

[Puppet Users] Re: Long puppet catalog run times on certain nodes after "using pson" is called

2013-03-01 Thread jcbollinger
On Thursday, February 28, 2013 12:16:58 PM UTC-6, r.yeo wrote: > > Architecture of PM is Ubuntu 12.04 in a VM with 8GB of RAM (4.7GB used) > with Apache 2.2 as the front end. > > No network bottlenecks that I have been able to identify and the nodes > this is happening on seem to be random. Di

Re: [Puppet Users] Re: PuppetDB queue problem

2013-03-01 Thread Ken Barber
Oh - and a copy of the current dead letter queue would be nice, its normally stored in: /var/lib/puppetdb/mq/discarded/* This should also contain the full exceptions for the failed SQL as I mentioned earlier, so perhaps a glance into those now and letting me know what the prevalent failure is wou

Re: [Puppet Users] Issues with conditionals & Hiera

2013-03-01 Thread jcbollinger
On Thursday, February 28, 2013 4:20:43 PM UTC-6, Cody Robertson wrote: > > It may be worth noting that the notice() function printed the variable as > a normal string (or seemingly) making it difficult to recognize the fact it > was actually an array. I'm not sure if this is something that shou

Re: [Puppet Users] Re: PuppetDB queue problem

2013-03-01 Thread Ken Barber
So I've been pondering this issue of yours, and I keep coming back to that error in my mind: ERROR: insert or update on table "certname_catalogs" violates foreign key constraint "certname_catalogs_catalog_fkey" Regardless of the other issues, 512 GB db - yes its big, but so what? That shouldn't

Re: [Puppet Users] Re: expect like behavior function?

2013-03-01 Thread Felix Frank
Hi, On 02/28/2013 02:33 AM, liu.cy wrote: > 1. try /bin/true or /usr/bin/yes I see where you're coming from and I concur with 'yes', but 'true' is a different beast entirely. It will not be helpful in this particular situation. yes can also be a little heavyweighed - if this is a single question

Re: [Puppet Users] Re: PuppetDB queue problem

2013-03-01 Thread ak0ska
On Thursday, February 28, 2013 6:09:35 PM UTC+1, Ken Barber wrote: > > FYI, I just upgraded only the PuppetDB part to 1.1.1, using the old > 1.0.2 terminus I get no errors: > > 2013-02-28 17:06:27,711 WARN [qtp1478462104-39] [http.server] Use of > unversioned APIs is deprecated; please use /v

Re: [Puppet Users] Re: Long puppet catalog run times on certain nodes after "using pson" is called

2013-03-01 Thread Felix Frank
Alright, then. Are your agents *nix? Please try and strace an agent run and determine what's going on during the 75 seconds waiting periods. A simpler first step will be to wireshark agent/master communication with a tool such as ssldump. But that will only help if there is in fact communication

Re: [Puppet Users] Re: PuppetDB queue problem

2013-03-01 Thread ak0ska
> You mean, you've only been watching it for a few minutes, and so far > so good - or it crashed? Sorry - just want to be clear :-). > I was watching it for a few minutes and it seemed good. However the queue grew up to 4000 items overnight. Also we have more of the constraint violation err