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

2010-10-20 Thread Matt Wallace
On Tuesday 19 Oct 2010 21:52:37 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 > |

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

2010-10-20 Thread Nicolas Szalay
Le mardi 19 octobre 2010 à 23:49 -0700, Al @ Lab42 a écrit : > Generally yes. IMHO, monitoring needs a "refresh" to cope with the "new way" servers are operated & built. This is a larger topic that this single thread :) > > So assuming you have monitoring for all of this, is the problem that you

Re: [Puppet Users] how to set Ruby path?

2010-10-20 Thread Sandor Szuecs
On Oct 20, 2010, at 2:13 AM, bobics wrote: > 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/

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

2010-10-20 Thread luke.bigum
Not that I've been able to see, James, though I'd put money on that I've probably missed something so ridiculously simple that I can't see it. I've attached the client and Webrick master debug logs - the Master's Report http error at the end can be ignored, it's because Apache is shut down on the b

[Puppet Users] Send diff in tagmail report ?

2010-10-20 Thread Jan-Frode Myklebust
Is it possible to configure puppet to send a "diff" of old/new files in the tagmail reports when it's changing files ? Or has someone made a solution for creating such a report against the clientbucket ? -jf -- You received this message because you are subscribed to the Google Groups "Puppe

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

2010-10-20 Thread Nikolay Sturm
* Matt Wallace [2010-10-20]: > I've not gone down the cucumber-puppet root as I'm not 100% sure how > it works and how to write stories correctly so if anyone can point me > at a good resource on this, I'd be very appreciative! I have put up some documentation at http://projects.puppetlabs.com/pro

Re: [Puppet Users] stages examples/advices

2010-10-20 Thread David Schmitt
On 10/18/2010 6:14 PM, Hunter Haugen wrote: so you could do this: class orden { stage { [ 'repos', 'os', 'gLite', 'post' ]: } Stage['repos'] -> Stage['os'] -> Stage['main'] -> Stage['gLite'] -> Stage['post'] } A style question: wouldn't it be preferable to write it like this: class

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

2010-10-20 Thread David Schmitt
On 10/19/2010 3:29 PM, jcbollinger wrote: 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 altoge

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

2010-10-20 Thread Trevor Vaughan
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 All, I would suggest taking a look at OpenSCAP and the SCAP initiative led by NIST. It is an Open Standard and to me, the concepts act as the validation side of Puppet enforcement. http://www.open-scap.org/page/Main_Page http://scap.nist.gov/revisio

[Puppet Users] Re: ANNOUNCE: Puppet Dashboard 1.0.4 released!

2010-10-20 Thread Andreas Paul
I get the following error: Database isn't the current migration version: expected 20100726070117, got 20100916183948 You must either run 'rake db:migrate' or set environmental variable NO_MIGRATION_CHECK I upgraded from 1.0.4rc2 and did run 'rake RAILS_ENV=production db:migrate' before restarting

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

2010-10-20 Thread Martin Langhoff
On Mon, Oct 18, 2010 at 9:13 AM, jcbollinger wrote: > I'm guessing you mean you have written sub-*classes* to do that job. > That is indeed the Puppet way to do it, and I don't find it at all > ridiculous. As a puppet newcomer, that is a bit surprising, and IMO unreasonable. Imagine you are join

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

2010-10-20 Thread Patrick
On Oct 20, 2010, at 8:00 AM, Martin Langhoff wrote: > On Mon, Oct 18, 2010 at 9:13 AM, jcbollinger > wrote: >> I'm guessing you mean you have written sub-*classes* to do that job. >> That is indeed the Puppet way to do it, and I don't find it at all >> ridiculous. > > As a puppet newcomer, tha

[Puppet Users] show dependency tree?

2010-10-20 Thread jb
Is there a way to view the resource relationship tree for a class (or all classes)? I'd like an easy way for our admins to see things like what classes refer to the same resource, which classes require another class, etc. thanks -- You received this message because you are subscribed to the Goo

[Puppet Users] nagios_service types and "name"

2010-10-20 Thread Bruce Richardson
It seems that the nagios_service type will not write out the "name" property of nagios service objects. I had thought this was an oversight or a bug, till I saw this thread: http://www.mail-archive.com/puppet-b...@googlegroups.com/msg10387.html which seems to imply that this is a deliberate "fea

Re: [Puppet Users] nagios_service types and "name"

2010-10-20 Thread Bruce Richardson
On Wed, Oct 20, 2010 at 05:16:39PM +0100, Bruce Richardson wrote: > desired behaviour, why does the nagios_service type have "use" and > "register" parameters, because they are useless without the ability to > attach names to services in the generated nagios config. Well, "use" is still functional

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

2010-10-20 Thread Martin Langhoff
On Wed, Oct 20, 2010 at 12:03 PM, Patrick wrote: > I wouldn't call it unreasonable.  I would call it "lack of a really cool > feature". Pretty fundamental feature :-) I am not saying Puppet needs to magically know what I'd like to happen with the file. However, it should at least give us enough

[Puppet Users] Re: Negate or uninclude a class

2010-10-20 Thread jcbollinger
On Oct 19, 6:04 pm, Bruce Richardson wrote: > [...] I agree with you about the > importance of state, but in that scenario, to me, not being an LDAP > client is the basic state. After much consideration, I think a great deal of this debate hinges on that definition. It is perfectly reasonable,

Re: [Puppet Users] ANNOUNCE: Puppet Dashboard 1.0.4 released!

2010-10-20 Thread Martin Alfke
On 20.10.2010, at 01:59, James Turnbull wrote: > 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 so

[Puppet Users] puppetd 0.25.4 with puppetmaster 0.24.8?

2010-10-20 Thread Ed Greenberg
Our puppetmaster runs 0.24.8 on Ubuntu 9.10. Our clients are either Ubuntu 9.10 or Ubuntu 8.04. We've just brought up our first Ubuntu 10.04 machine. This machine installs puppetd 0.25.4. The Ubuntu 10.04 machine can't seem to present it's certificate request properly. In my masterhttp.lo

Re: [Puppet Users] show dependency tree?

2010-10-20 Thread Mohit Chawla
You can do that by enabling graphs to be generated, in puppet.conf or as an argument to the client daemon. On Wed, Oct 20, 2010 at 9:34 PM, jb wrote: > Is there a way to view the resource relationship tree for a class (or > all classes)? I'd like an easy way for our admins to see things like >

Re: [Puppet Users] puppetd 0.25.4 with puppetmaster 0.24.8?

2010-10-20 Thread Mohit Chawla
If the upgrades are not gonna break your network, you'd better upgrade. Also you'd wanna have the masters upgraded first rather than the clients. But still you can through the release notes for both the versions and see if you can work out a solution. On Thu, Oct 21, 2010 at 12:02 AM, Ed Greenberg

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

2010-10-20 Thread Mohit Chawla
On Wed, Oct 20, 2010 at 10:26 PM, Martin Langhoff wrote: > Pretty fundamental feature :-) > You don't have random scripts doing random business. If the puppet modules have been written nicely, I don't see any reason to be unable to go through them once, understand the structure, and work from th

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

2010-10-20 Thread Martin Langhoff
On Wed, Oct 20, 2010 at 3:00 PM, Mohit Chawla wrote: >> Except that some definitions may be gone. That's what worries me. Sure >> I can read the pp files as they are today. > > That's probably true for any tool or method. Unless it was in version > control. Not true of packages under any modern p

[Puppet Users] Nigel Kersten has started at Puppet Labs

2010-10-20 Thread Luke Kanies
Hi all, I think many people know this already, but Nigel Kersten has officially joined us (started today) as product manager. His first job will be figuring out exactly what that means. In general, however, Nigel's main job will be making sure that we as a company are working on the right pri

[Puppet Users] Accessing the puppet configuration settings from an external script?

2010-10-20 Thread Matthew Macdonald-Wallace
Hi all, I'm working on a ext-node script that will use oauth to authenticate against the node database and I'm wondering if it is possible to read the puppet.conf file easily in this script so I can place the oauth key/secret into this file (and basically avoid maintaining my own config file!) Is

Re: [Puppet Users] Re: ANNOUNCE: Puppet Dashboard 1.0.4 released!

2010-10-20 Thread Igal Koshevoy
Andreas, This error message indicates that the Puppet Dashboard won't start because your application version is older than your database schema. Specifically, your Puppet Dashboard code is expecting the schema shipped with v1.0.3 (schema 20100726070117), but your actual database schema is the one

Re: [Puppet Users] puppetd 0.25.4 with puppetmaster 0.24.8?

2010-10-20 Thread Patrick Mohr
Always upgrade the puppetmaster first. Clients will usually not work with a server that has an older major version. I've found that using the lucid (10.4) deb files in karmic (9.10) works fine if You get all the related ones. When ever you upgrade puppet, also upgrade facter. On Wed, Oct 20, 20