Re: [Puppet Users] Re: London meetup during Training days

2010-03-29 Thread Gary Law
On 28 March 2010 13:11, Al @ Lab42 wrote: > London is calling, wednesday 31 is approaching... where and at what > hour are we going to meet up? > Londoners decide... possibly not too far from County House, Conway > Mews. I recommend Mason's Arms, 8 Devonshire Street, W1W 5EA, which I think was th

Re: [Puppet Users] Passenger Apache2 Certificates

2010-03-29 Thread Ohad Levy
Hi Grifith, Puppet includes by default a CA, therefor if you had puppet working before (with a puppetmaster) then all you need to do is to find the relevant fines in your /var/lib/puppet/ssl dir :) something in the spirit of http://github.com/ohadlevy/puppet-multipuppetmaster/blob/master/template

[Puppet Users] Passenger Apache2 Certificates

2010-03-29 Thread Smain Kahlouch
Hi everyone, I'm trying to migrate my puppetmaster to Passenger and i was wondering how can i generate the following lines in apache2 configuration : ... SSLCertificateFile /var/lib/puppet/ssl/certs/puppet.koumbit.net.pem SSLCertificateKeyFile /var/lib/puppet/ssl/private_keys/puppet.koumbi

[Puppet Users] Puppet Labs is hiring...

2010-03-29 Thread Teyo Tyree
...and you are just the kind of people want to hire. http://www.puppetlabs.com/company/jobs/ Cheers, Teyo -- 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 t

[Puppet Users] Re: facter or ifconfig to find hosts with ip on certain subnet

2010-03-29 Thread donavan
On Mar 28, 8:47 pm, deet wrote: >   I like the idea of accessing this information through facter instead > of needlessly running ifconfig again. Indeed. Take a look at the facter libraries, they're quite readable overall. Plenty of good bits in 'facter/util' that you can use also. >  Is their an

Re: [Puppet Users] Source and Template file defaults

2010-03-29 Thread Douglas Garstang
On Tue, Mar 23, 2010 at 4:00 AM, Thomas Bellman wrote: > Douglas Garstang wrote: > >> On Mon, Mar 22, 2010 at 7:15 PM, Ohad Levy wrote: > >>> Hmm.. Puppet does not support going over multiple templates like it does >>> in >>> plain files. >>> >>> maybe there is even a feature request for it ;) >>

[Puppet Users] Adding System Account

2010-03-29 Thread Darvin Denmian
What option I need to use to create a system account with "Puppet"? Like the bellow command: useradd -r nagios -s /sbin/nologin -d /var/lib/nagios -m nagios Sorry for this newbie question, I'm new in Puppet configuration :) Thanks ! -- You received this message because you are subscribed to th

[Puppet Users] Re: err: Got an uncaught exception of type ArgumentError: Field 'value' is required

2010-03-29 Thread .Nox
Changed. Same error. But if I add :optional => %w{value} into record_line this seems to fix the issue - and seems to work and I am not really sure why because I did not find anywhere a complete documentation on parsed file ( May be someone know where to get it - without reading sources) Thank you

Re: [Puppet Users] Re: err: Got an uncaught exception of type ArgumentError: Field 'value' is required

2010-03-29 Thread Dan Bode
I just saw the mistake. The fields for parsedfile need to be properties, not parameters. change newparam(:value) do desc "The value to set" end to newproperty(:value) do desc "The value to set" end and it should work. On Mon, Mar 29, 2010 at

[Puppet Users] Re: err: Got an uncaught exception of type ArgumentError: Field 'value' is required

2010-03-29 Thread .Nox
Hello, [r...@vps1 ~]$ puppetd --server test --waitforcert 60 --test --trace info: Retrieving plugin warning: newstate() has been deprecrated; use newproperty(value) info: Caching catalog for vps1.srv171.rackco.com info: Applying configuration version '1269887449' notice: //r::ssh/Ssh::Set_value[Pe

Re: [Puppet Users] err: Got an uncaught exception of type ArgumentError: Field 'value' is required

2010-03-29 Thread Dan Bode
On Sun, Mar 28, 2010 at 2:09 AM, .Nox wrote: > Hello, > > I wrote a custom type for managing sshd configuration file > > Type: > > module Puppet >newtype(:sshd_param) do >@doc = "Manages parameters of sshd" > >ensurable

Re: [Puppet Users] Re: London meetup during Training days

2010-03-29 Thread Dan Bode
On Mon, Mar 29, 2010 at 9:35 AM, Paul Nasrat wrote: > On 29 March 2010 15:18, scramble wrote: > > The class will end around 5pm on Wednesday, so a meet-up around 6 or > > 6:30 would be great. Open to suggestions from Paul or others... > > Posted in another thread - who from PuppetLabs is over?

Re: [Puppet Users] Re: London meetup during Training days

2010-03-29 Thread Paul Nasrat
On 29 March 2010 15:18, scramble wrote: > The class will end around 5pm on Wednesday, so a meet-up around 6 or > 6:30 would be great.  Open to suggestions from Paul or others... Posted in another thread - who from PuppetLabs is over? Paul -- You received this message because you are subscribed

Re: [Puppet Users] Re: London meetup during Training days

2010-03-29 Thread Julian Simpson
On 29 March 2010 15:18, scramble wrote: > The class will end around 5pm on Wednesday, so a meet-up around 6 or > 6:30 would be great. Open to suggestions from Paul or others... > > I double-booked this with my other half, so if I can make this it will be for a /very/ swift drink. Is anyone arou

Re: [Puppet Users] Excluding a host

2010-03-29 Thread LOhit
Hi Brice, That is the first thing I tried, but unfortunately that isn't working. I tried something like this, node "hst26.domainname inherits commonnode{ *specific to this host* } node " /^hst[0-9]+\.domainname/" inherits commonnode{ *everthing else* } I was also under the impression that th

[Puppet Users] New York Training - April 12-16th

2010-03-29 Thread scramble
Quick reminder here that Puppet Training is coming to New York April 12-16th. You can register and get more information here: http://reductivelabs.com/training/. Location: Downtown Conference Center 212-618-6997 157 William Street New York, NY 10038 Puppet Master Training: April 12-14 Puppet De

[Puppet Users] Re: London meetup during Training days

2010-03-29 Thread scramble
The class will end around 5pm on Wednesday, so a meet-up around 6 or 6:30 would be great. Open to suggestions from Paul or others... On Mar 28, 5:11 am, "Al @ Lab42" wrote: > London is calling, wednesday 31 is approaching... where and at what > hour are we going to meet up? > Londoners decide...

Re: [Puppet Users] Excluding a host

2010-03-29 Thread Brice Figureau
Hi, On Mon, 2010-03-29 at 14:05 +0530, LOhit wrote: > Hi, > > > Sorry if this question has been answered before (Could not find the > answer, Google didn't help either :) ). > > > While specifying hosts I have used a regexp like this. > " /^hst[0-9]+.domainname/ " I have about 300+ hosts matc

Re: [Puppet Users] Re: Excluding a host

2010-03-29 Thread LOhit
Thanks, in fact, I was going to use that if nothing else worked. It would be nice to have a exclude list though. Best Regards, -LOhit On Mon, Mar 29, 2010 at 5:59 PM, christian wrote: > If you don't want to edit your regexp, a simple solution could be > adding something like this to the beginni

[Puppet Users] Re: Excluding a host

2010-03-29 Thread christian
If you don't want to edit your regexp, a simple solution could be adding something like this to the beginning of your manifests : if $hostname == "host-that-should-be-excluded" {} else { your actual manifest } At least that worked for me as I just tested it. christian On 29 Mrz., 10:35, LOhit

Re: [Puppet Users] London Puppet Meet - Wednesday 31 March

2010-03-29 Thread Mike Pountney
I'll be there from about 7pm I imagine, unless I can get out of work early. On 29 Mar 2010, at 12:33, Paul Nasrat wrote: > Meet up following training, open to all, we'll meet at The Green Man > pub again, I get off about 18h so probably there about 18:30 but feel > free to get there earlier if th

[Puppet Users] London Puppet Meet - Wednesday 31 March

2010-03-29 Thread Paul Nasrat
Meet up following training, open to all, we'll meet at The Green Man pub again, I get off about 18h so probably there about 18:30 but feel free to get there earlier if the class finishes up. Green Man 36 Riding Hood St London W1W 7EP http://www.thegreenmanw1.co.uk/ It's 4 mins by google maps wal

[Puppet Users] Excluding a host

2010-03-29 Thread LOhit
Hi, Sorry if this question has been answered before (Could not find the answer, Google didn't help either :) ). While specifying hosts I have used a regexp like this. " * /^hst[0-9]+.domainname/* " I have about 300+ hosts matching this regexp and is working pretty well, so far. However, I have 2

[Puppet Users] Re: Using ssh::auth for root

2010-03-29 Thread christian
Well, thanks for the late answer. > you shouldn't need to set home again in ::server and ::client, although I > guess you > only added those when the first didn't work. That's right In the meantime I made a little workaround and edited the following: define ssh_auth_key_client ($ensure, $filen