Re: [Puppet Users] Re: Automating infrastructure tests on Puppet nodes after a puppetrun

2010-10-19 Thread R.I.Pienaar
- "Al @ Lab42" wrote: > > BTW, an implementation question. How do you suggest to manage the > triggering of an action on the mcollective client from the > PupetMaster, after a Puppet run on one of its clients? > I suppose that using a custom report is the most logic approach, but > what's t

[Puppet Users] Re: Automating infrastructure tests on Puppet nodes after a puppetrun

2010-10-19 Thread Al @ Lab42
On Oct 19, 11:06 pm, "R.I.Pienaar" wrote: > - "Al @ Lab42" wrote: > > > > > Hi List, > > I would like to discuss with whoever is interested one topic that I > > suppose has general interest. > > > I want to implement some kind of automatic testing on the status of a > > node after a Puppet

[Puppet Users] Re: Automating infrastructure tests on Puppet nodes after a puppetrun

2010-10-19 Thread Al @ Lab42
On Oct 19, 10:52 pm, Nicolas Szalay wrote: > - "Al @ Lab42" a écrit : > > | Hi List, > > Hi, > > | I would like to discuss with whoever is interested one topic that I > | suppose has general interest. > | > | I want to implement some kind of automatic testing on the status of a > | node aft

Re: [Puppet Users] 2.6 upgrade problem

2010-10-19 Thread Chad Huneycutt
Maybe I'm dense, but that bug doesn't seem to be relevant. I just created #5048; I am not sure that the trace adds much, but hopefully someone can make something out of it. Thanks! - Chad On Tue, Oct 19, 2010 at 11:01 PM, James Turnbull wrote: > Chad Huneycutt wrote: >> I am attempting to upgr

Re: [Puppet Users] 2.6 upgrade problem

2010-10-19 Thread James Turnbull
Chad Huneycutt wrote: > I am attempting to upgrade my master from 0.25.5 to 2.6.2 and am stuck > on this issue. The master seems to be be happily compiling catalogs, > but the 0.25.5 clients cannot apply them. The error looks like this: > > info: Caching catalog for foo.bar.org > /usr/lib/ruby/s

Re: [Puppet Users] Is there an "official" unofficial source ppa?

2010-10-19 Thread James Turnbull
Todd Eddy wrote: > Our organization uses Ubuntu LTS releases, problem being is there are > a few packages I want to keep up to date like subversion and puppet. > There are more-or-less "official" PPAs for at least subversion > (https://launchpad.net/~svn/+archive/ppa) and git (https:// > launchpad.

[Puppet Users] Is there an "official" unofficial source ppa?

2010-10-19 Thread Todd Eddy
Our organization uses Ubuntu LTS releases, problem being is there are a few packages I want to keep up to date like subversion and puppet. There are more-or-less "official" PPAs for at least subversion (https://launchpad.net/~svn/+archive/ppa) and git (https:// launchpad.net/~git-core/+archive/ppa)

[Puppet Users] 2.6 upgrade problem

2010-10-19 Thread Chad Huneycutt
I am attempting to upgrade my master from 0.25.5 to 2.6.2 and am stuck on this issue. The master seems to be be happily compiling catalogs, but the 0.25.5 clients cannot apply them. The error looks like this: info: Caching catalog for foo.bar.org /usr/lib/ruby/site_ruby/1.8/puppet/resource.rb:13

[Puppet Users] how to set Ruby path?

2010-10-19 Thread bobics
How do I set the Ruby path that Puppet uses? I have Ruby Enterprise Edition installed for my *application*, installed from source and symlinked (/usr/local/bin/ruby) so it's in the path, overriding the default .deb installed standard Ruby (/usr/bin/ruby). For *Puppet* I want to use the standard R

[Puppet Users] ANNOUNCE: Puppet Dashboard 1.0.4 released!

2010-10-19 Thread James Turnbull
We're pleased to announce the availability of Puppet Dashboard 1.0.4! This is a maintenance release, it fixes a number of bugs, improves the user interface, significantly boosts performance and includes better RPM and DEB packages. The source code of 1.0.4 is identical to 1.0.4rc2. Please upgrad

Re: [Puppet Users] Re: Negate or uninclude a class

2010-10-19 Thread Bruce Richardson
On Tue, Oct 19, 2010 at 09:00:16AM -0700, jcbollinger wrote: > The subclass approach definitely does not override the superclass to > do nothing. Much to the contrary, it overrides the superclass so that > together (whether the superclass is directly included or not) they > ensure the correct conf

Re: [Puppet Users] Re: client won't use remote file bucket

2010-10-19 Thread James Turnbull
luke.bigum wrote: > Sorry should have said that. 2.6.2 client and server running on CentOS > 5. Stock CentOS ruby (1.8.5), server runs via Passenger and Ruby > Enterprise 1.8.7. > And no errors in the debug logs? Can you pastie some --debug --trace logs? Thanks James -- Puppet Labs - http://

Re: [Puppet Users] Puppet Application Server Deployment

2010-10-19 Thread ajinkya prabhune
hi could u pls explain me why cos i need to decide on C.M tool very soon. could u suggest some other tool. thanks On Tue, Oct 19, 2010 at 11:12 PM, Scott Smith wrote: > I highly suggest you refrain from using Puppet to manage service-level > applications. > > On Mon, Oct 18, 2010 at 1:19 AM, aja

Re: [Puppet Users] Puppet Application Server Deployment

2010-10-19 Thread Scott Smith
I highly suggest you refrain from using Puppet to manage service-level applications. On Mon, Oct 18, 2010 at 1:19 AM, ajax wrote: > Hello all, > > I wanted to know can i deploy Application Severs like JOnAS (java) > using Puppet from the server. > > > -- > You received this message because you a

Re: [Puppet Users] Automating infrastructure tests on Puppet nodes after a puppetrun

2010-10-19 Thread R.I.Pienaar
- "Al @ Lab42" wrote: > Hi List, > I would like to discuss with whoever is interested one topic that I > suppose has general interest. > > I want to implement some kind of automatic testing on the status of a > node after a Puppet Run. > These tests involve trivial and less trivial things t

Re: [Puppet Users] Automating infrastructure tests on Puppet nodes after a puppetrun

2010-10-19 Thread Nicolas Szalay
- "Al @ Lab42" a écrit : | Hi List, Hi, | I would like to discuss with whoever is interested one topic that I | suppose has general interest. | | I want to implement some kind of automatic testing on the status of a | node after a Puppet Run. | These tests involve trivial and less trivial

Re: [Puppet Users] Re: Negate or uninclude a class

2010-10-19 Thread Bruce Richardson
On Tue, Oct 19, 2010 at 01:36:25PM +0200, Felix Frank wrote: > > Subclasses that effectively disable a class are a sound concept. Subclasses which disable a resource are a sound concept; subclasses which attempt to negate a claass present many problems, some of which I have described, none of whi

[Puppet Users] Re: client won't use remote file bucket

2010-10-19 Thread luke.bigum
That was meant to read "Clients run stock CentOS ruby (1.8.5), server runs via Passenger and Ruby Enterprise 1.8.7." On Oct 19, 5:02 pm, "luke.bigum" wrote: > Sorry should have said that. 2.6.2 client and server running on CentOS > 5. Stock CentOS ruby (1.8.5), server runs via Passenger and Ruby

[Puppet Users] Re: client won't use remote file bucket

2010-10-19 Thread luke.bigum
Sorry should have said that. 2.6.2 client and server running on CentOS 5. Stock CentOS ruby (1.8.5), server runs via Passenger and Ruby Enterprise 1.8.7. On Oct 19, 4:58 pm, James Turnbull wrote: > luke.bigum wrote: > > Hi all, > > > I'm having a stupid moment getting a remote file bucket working

[Puppet Users] Re: Negate or uninclude a class

2010-10-19 Thread jcbollinger
On Oct 18, 10:24 am, Bruce Richardson wrote: > Class inheritence *only* makes sense if you want to > override the properties of resources. It appears that we agree there. I add that one property shared by most resources is "ensure", by which relevant resources can be ensured absent / disabled (

Re: [Puppet Users] client won't use remote file bucket

2010-10-19 Thread James Turnbull
luke.bigum wrote: Hi all, I'm having a stupid moment getting a remote file bucket working. My client only file buckets locally, not remotely. I have this site.pp: * filebucket { "main": server => "puppet" } File { backup => "main" } node 'default' { include test What Puppet versi

Re: [Puppet Users] setting type defaults in some classes

2010-10-19 Thread Nigel Kersten
On Tue, Oct 19, 2010 at 3:06 AM, Bruce Richardson wrote: > On Tue, Oct 19, 2010 at 11:32:26AM +0200, Arnau Bria wrote: >> I don't remember from where I took the idea... but seems that I chose >> wrong place :-) What do you recommend me? any doc to follow? > > Unfortunately, I don't think there is

[Puppet Users] Automating infrastructure tests on Puppet nodes after a puppetrun

2010-10-19 Thread Al @ Lab42
Hi List, I would like to discuss with whoever is interested one topic that I suppose has general interest. I want to implement some kind of automatic testing on the status of a node after a Puppet Run. These tests involve trivial and less trivial things things like: - A local service is running -

Re: [Puppet Users] Prefixing syslog messages with client names

2010-10-19 Thread Kenneth Holter
Thanks for great advice. The puppet clients are logging to the master, but I agree that it would be better for them to log to syslog. I've got an rsyslog master up and running, which all my linux servers log to, so I'll make use of that to extract the puppet related messages. - Kenneth On Tue, O

[Puppet Users] client won't use remote file bucket

2010-10-19 Thread luke.bigum
Hi all, I'm having a stupid moment getting a remote file bucket working. My client only file buckets locally, not remotely. I have this site.pp: * filebucket { "main": server => "puppet" } File { backup => "main" } node 'default' { include test } * and this test module: ***

[Puppet Users] Re: Puppetrun reports certificates were not trusted

2010-10-19 Thread Christian
Actually that problem were solved by simply rebooting all machines. After a restart suddenly it worked for all of them. >From time to time i experience however that single nodes produces following errors even if i havent run puppetrun very short before that run: "Host is already running finished

[Puppet Users] use Tidy resource to clean puppet master reports

2010-10-19 Thread luke.bigum
Hi list, I was thinking of using a Tidy resource to clean up old reports on puppet master servers but it doesn't seem to like it: [r...@puppet-master-01 ~]# puppetd --test --noop info: Retrieving plugin info: Caching catalog for puppet-master-01.fasthosts.net.uk err: /Stage[main]/Fh_puppet::Maste

[Puppet Users] Re: best practice for removing a module & maintained resources from a system ?

2010-10-19 Thread jcbollinger
On Oct 18, 9:03 am, David Schmitt wrote: > Exactly. If done right, this can be achieved by using purging on the > proper directories (like /etc/http/conf.d) to keep away unmanaged > contents. For the most things this obviates the need for a ::no class > altogether. But purging makes my skin craw

[Puppet Users] Re: unable to get puppet client to work

2010-10-19 Thread mar...@fearless.nl
0.25.4 (Ubuntu repository) However, i got it working now. Seemed the reverse DNS was causing issues. Cheers, Marcel On 18 okt, 18:42, Mohit Chawla wrote: > Hi, > > What's the client version ? > > On Mon, Oct 18, 2010 at 9:36 PM, mar...@fearless.nl wrote: > > > > > Hi All, > > > first off, i'm

Re: [Puppet Users] Re: Negate or uninclude a class

2010-10-19 Thread Felix Frank
On 10/18/2010 05:24 PM, Bruce Richardson wrote: > On Mon, Oct 18, 2010 at 07:20:10AM -0700, jcbollinger wrote: >> >> On Oct 18, 4:38 am, Bruce Richardson wrote: >>> No, you can't uninclude a class. >> >> Right. >> Is the only way to do this to inherit the base class and override all it

Re: [Puppet Users] setting type defaults in some classes

2010-10-19 Thread Bruce Richardson
On Tue, Oct 19, 2010 at 11:32:26AM +0200, Arnau Bria wrote: > I don't remember from where I took the idea... but seems that I chose > wrong place :-) What do you recommend me? any doc to follow? Unfortunately, I don't think there is great documentation out there; the core development team is too b

Re: [Puppet Users] setting type defaults in some classes

2010-10-19 Thread Arnau Bria
On Tue, 19 Oct 2010 00:07:50 +0100 Bruce Richardson wrote: Hi Bruce, I'd like to thanks the time you take for answering my question. > > ~puppet/manifests/site1.pp > > /services/ > > /SERA/site2.pp > > /modules2 > >

[Puppet Users] Re: Augeas type to edit/append to /etc/pam.d/sshd

2010-10-19 Thread luke.bigum
Just for the info, I've gotten the answer at why lines like these error: set *[module = 'pam_mkhomedir.so']/type session or a similar example for /etc/hosts: set /files/etc/hosts/*/ipaddr[.='10.1.1.1'] 10.1.1.1 To quote from the augeas-devel list: "The issue is where there is no node matching /

Re: [Puppet Users] Puppet Application Server Deployment

2010-10-19 Thread ajinkya prabhune
hello Bruce, I was wondering is SmartFrog better than Puppet or are they both of equal level. If u have some examples could u pls send them to me.. i am trying to learn everything from scratch and learning thru examples will make my learning fast. thank u and regards ajinkya On Mon, Oct 18, 2010