Re: [Puppet Users] manitest - a simple tool to help your puppet development and testing

2009-12-01 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Luke Kanies wrote: > It seems a bit limited because it actually runs the whole > configuration, but I like it. It should definitely be straightforward > to extend it to use a given host's Facts. > > You might also be able to get some inspiration

Re: [Puppet Users] manitest - a simple tool to help your puppet development and testing

2009-12-01 Thread Luke Kanies
On Nov 29, 2009, at 6:18 AM, Ohad Levy wrote: > If it happened to you before that someone broke your manifest > because of simple change (e.g. didnt test it on all hosts/classes > external nodes ... combinations) this tool might be useful for you. > > the idea is very simple, just try to compi

Re: [Puppet Users] Re: how do i override/redefine a resource that is declared in another class?

2009-12-01 Thread mark inaba
thanks so much to peter meier and silviu paragina for their assistance. i didn't realize i needed the capital S in Service and the slightly different format in changing the value of the service resource than when first creating it. i wanted to test it to make sure it worked, and it did! thanks so

Re: [Puppet Users] manitest - a simple tool to help your puppet development and testing

2009-12-01 Thread Ohad Levy
On Wed, Dec 2, 2009 at 9:51 AM, Nigel Kersten wrote: > Yep. It's the provider forcing stuff that is the problem. I was going > to start digging in to work out what's a real alarm and what isn't. > > How are you using this Ohad? Are you running it on your servers? > > Currently we've created a lis

Re: [Puppet Users] manitest - a simple tool to help your puppet development and testing

2009-12-01 Thread Nigel Kersten
On Tue, Dec 1, 2009 at 5:46 PM, Ohad Levy wrote: > > > On Wed, Dec 2, 2009 at 2:47 AM, Nigel Kersten wrote: >> >> Ohad, I noticed you have /etc/puppet/manifests/site.pp hard-wired >> there. We actually serve our manifests out of a different location, so >> I had to do a minor tweak to get that wo

Re: [Puppet Users] manitest - a simple tool to help your puppet development and testing

2009-12-01 Thread Ohad Levy
We are working internally to come up with some regressions, if it turns out to usable I'll be more than happy to share. If you get to a stage hudson is working - let us know :) Ohad On Wed, Dec 2, 2009 at 4:17 AM, Nicolas Szalay wrote: > Tried it out and did a bunch of debugging with ohad. Work

Re: [Puppet Users] manitest - a simple tool to help your puppet development and testing

2009-12-01 Thread Ohad Levy
Hi Scott, I don't see how this can help us, see explanation from previous email :) Ohad On Wed, Dec 2, 2009 at 3:04 AM, Scott Smith wrote: > Nigel Kersten wrote: > > It's a shame we can't impersonate architectures though... I'd love to > > be able to simulate catalog runs of a Mac client on a L

Re: [Puppet Users] manitest - a simple tool to help your puppet development and testing

2009-12-01 Thread Ohad Levy
On Wed, Dec 2, 2009 at 2:47 AM, Nigel Kersten wrote: > Ohad, I noticed you have /etc/puppet/manifests/site.pp hard-wired > there. We actually serve our manifests out of a different location, so > I had to do a minor tweak to get that working. > I'll see what I can do about that ;) > > It's a sha

Re: [Puppet Users] Module Organization page: missing piece

2009-12-01 Thread Andrew Schulman
> -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Andrew Schulman wrote: > > At http://reductivelabs.com/trac/puppet/wiki/ModuleOrganisation, the > > Configuration section says "There are only two items that can be configured > > for > > modules:" and then only lists #1. There's no #2! > >

Re: [Puppet Users] puppetmaster SQL failing

2009-12-01 Thread Ohad Levy
Which version of rails are you using? I kind of remember an issue with 2.1 and multiple connections Ohad On Wed, Dec 2, 2009 at 5:25 AM, Eric Gerlach wrote: > Hi all, > > Just upgraded from 0.24.8 to 0.25.1. I've run into the following problem. > After a while, my puppetmaster fails with this t

Re: [Puppet Users] Module Organization page: missing piece

2009-12-01 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Eric Sorenson wrote: > There are two #1s. Looks like a Restructured text error where it started over > with the numbered > after one too many carriage returns. Thanks - fixed too. James - -- Author of: * Pro Linux System Administration (http://tin

Re: [Puppet Users] Module Organization page: missing piece

2009-12-01 Thread Eric Sorenson
There are two #1s. Looks like a Restructured text error where it started over with the numbered after one too many carriage returns. On Dec 1, 2009, at 4:42 PM, Andrew Schulman wrote: > At http://reductivelabs.com/trac/puppet/wiki/ModuleOrganisation, the > Configuration section says "There are

Re: [Puppet Users] Module Organization page: missing piece

2009-12-01 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Andrew Schulman wrote: > At http://reductivelabs.com/trac/puppet/wiki/ModuleOrganisation, the > Configuration section says "There are only two items that can be configured > for > modules:" and then only lists #1. There's no #2! > > It appears that

[Puppet Users] Module Organization page: missing piece

2009-12-01 Thread Andrew Schulman
At http://reductivelabs.com/trac/puppet/wiki/ModuleOrganisation, the Configuration section says "There are only two items that can be configured for modules:" and then only lists #1. There's no #2! It appears that James Turnbull added the configuration section at r39: http://reductivelabs.com/tra

Re: [Puppet Users] puppetmaster SQL failing

2009-12-01 Thread Eric Gerlach
In case it helps, it seems to happen when two clients are trying to talk to the puppetmaster simultaneously. I can't confirm that conclusively, but that seems to be the case. Cheers, Eric On Tue, Dec 01, 2009 at 04:25:49PM -0500, Eric Gerlach wrote: > Hi all, > > Just upgraded from 0.24.8 to 0

[Puppet Users] puppetmaster SQL failing

2009-12-01 Thread Eric Gerlach
Hi all, Just upgraded from 0.24.8 to 0.25.1. I've run into the following problem. After a while, my puppetmaster fails with this type of error: info: Expiring the node cache of gold.fs.uwaterloo.ca info: Not using expired node for gold.fs.uwaterloo.ca from cache; expired at Tue Dec 01 16:07:47

Re: [Puppet Users] How to read client certificate's CN

2009-12-01 Thread Steven VanDevender
Miguel Armas writes: > 2009/12/1 Ohad Levy : > > Hi, > > > > Why not use cobbler external nodes feature to avoid all of this all > > together > > Because right now only some nodes will use cobbler, I already have > >250 hosts and I don't want to change all my setup We recently set up Cob

[Puppet Users] Want to add AIX lpars as Puppet targets (clients)

2009-12-01 Thread JoeZ_aix
Can anyone point out some AIX specific downloads for Puppet AIX - rpms, source, etc - also any docs??? 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

Re: [Puppet Users] puppet ldap schema update

2009-12-01 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jonathan Mills wrote: > I recently had to update the puppet ldap schema file to make it work with Red > Hat Directory Server. In the process, I updated the OIDs to use the real PEN > assigned to ReductiveLabs/Puppet by IANA. > > I thought I'd share

Re: [Puppet Users] How to read client certificate's CN

2009-12-01 Thread Nigel Kersten
On Tue, Dec 1, 2009 at 12:23 PM, Miguel Armas wrote: > 2009/12/1 Ohad Levy : >> Hi, >> >> Why not use cobbler external nodes feature to avoid all of this all together > > Because right now only some nodes will use cobbler, I already have >>250 hosts and I don't want to change all my setup > >> sou

Re: [Puppet Users] How to read client certificate's CN

2009-12-01 Thread Miguel Armas
2009/12/1 Ohad Levy : > Hi, > > Why not use cobbler external nodes feature to avoid all of this all together Because right now only some nodes will use cobbler, I already have >250 hosts and I don't want to change all my setup > sounds to me that you should provision your nodes when they have a p

Re: [Puppet Users] manitest - a simple tool to help your puppet development and testing

2009-12-01 Thread Nicolas Szalay
Tried it out and did a bunch of debugging with ohad. Works really fine, I planned to check all manifests but I still not decided how to do it on a continous basis. I have to take a look at hudson. Nicolas. - Mail Original - De: "Nigel Kersten" À: puppet-users@googlegroups.com Envoyé: M

[Puppet Users] puppet ldap schema update

2009-12-01 Thread Jonathan Mills
I recently had to update the puppet ldap schema file to make it work with Red Hat Directory Server. In the process, I updated the OIDs to use the real PEN assigned to ReductiveLabs/Puppet by IANA. I thought I'd share that with everyone. Please see attached. -- You received this message beca

Re: [Puppet Users] manitest - a simple tool to help your puppet development and testing

2009-12-01 Thread Scott Smith
Nigel Kersten wrote: > It's a shame we can't impersonate architectures though... I'd love to > be able to simulate catalog runs of a Mac client on a Linux continuous > build server. > I wonder if you could with something like this... http://fedoraproject.org/wiki/Projects/Mock -scott -- You r

Re: [Puppet Users] manitest - a simple tool to help your puppet development and testing

2009-12-01 Thread Frank Sweetser
On 12/01/2009 01:47 PM, Nigel Kersten wrote: > On Sun, Nov 29, 2009 at 6:18 AM, Ohad Levy wrote: >> If it happened to you before that someone broke your manifest because of >> simple change (e.g. didnt test it on all hosts/classes external nodes ... >> combinations) this tool might be useful for y

Re: [Puppet Users] manitest - a simple tool to help your puppet development and testing

2009-12-01 Thread Nigel Kersten
On Sun, Nov 29, 2009 at 6:18 AM, Ohad Levy wrote: > If it happened to you before that someone broke your manifest because of > simple change (e.g. didnt test it on all hosts/classes external nodes ... > combinations) this tool might be useful for you. No-one else tried this out? It's really quite

Re: [Puppet Users] Duplicate definition on the same line and in the same file ?

2009-12-01 Thread Peter Meier
> can any one explain this behavior ? You define a package resource in your define. Everytime you manage a resource with this define also an instance of the package resource is managed, so you only need to manage two resources with this define and you end up with a duplicate definition. As

Re: [Puppet Users] Downloaded plugin does not get loaded after puppetd gets restarted.

2009-12-01 Thread Luke Kanies
On Nov 28, 2009, at 9:57 AM, Robert wrote: > Hi > > When I run puppetd for the first time, it syncs ownpkg.rb from > puppetmasterd just fine, and then it autoloads it. > > notice: /File[/var/puppet/lib/puppet/provider/ownpkg.rb]/content: > content changed '{md5}efd758a6094c813f8480423b01d823ac' to

Re: [Puppet Users] Duplicate definition on the same line and in the same file ?

2009-12-01 Thread David Schmitt
Kim Gert Nielsen wrote: > Hi, > > I'm trying to add libapache2-mod-php5 as a dependency in my php5 module here > is what I get > > info: Loading facts in raidcontroller > info: Loading facts in raidcontroller > debug: Format s not supported for Puppet::Resource::Catalog; has not > implemented

[Puppet Users] Duplicate definition on the same line and in the same file ?

2009-12-01 Thread Kim Gert Nielsen
Hi, I'm trying to add libapache2-mod-php5 as a dependency in my php5 module here is what I get info: Loading facts in raidcontroller info: Loading facts in raidcontroller debug: Format s not supported for Puppet::Resource::Catalog; has not implemented method 'from_s' err: Could not retrieve ca