[Puppet Users] Re: Puppet Common Modules: SSH Proposal

2008-09-30 Thread Jeroen van Meeuwen
Digant C Kasundra wrote: > That's odd b/c that seems to work for me just fine. Perhaps it is b/c of > namespacing? I.e. when I define a subclass of ssh called foo, I would > actually declare it as ssh::foo. If I include ssh::foo, puppet looks for > foo.pp in the ssh/manifests and if it doesn

[Puppet Users] Re: Module Standards

2008-09-30 Thread Digant C Kasundra
- "Kenton Brede" <[EMAIL PROTECTED]> wrote: > > With a small operation, it is okay. With something larger, it > doesn't scale well and it doesn't make good use of module grouping. > For instance, when setting up openldap, I want to talk about what I do > (packages I install, conf files I dr

[Puppet Users] Re: Puppet Common Modules: SSH Proposal

2008-09-30 Thread Digant C Kasundra
- "Jeroen van Meeuwen" <[EMAIL PROTECTED]> wrote: > Digant C Kasundra wrote: > > There is a lot to digest here but a quick correction on: > > > > # Red Hat / CentOS has puppet-0.24.4 and does not do the import > magic. It could do the imports, but it requires import statements per > file (n

[Puppet Users] Re: Puppet Common Modules: SSH Proposal

2008-09-30 Thread Digant C Kasundra
This is an interesting approach and certainly valid and should work. I'm not sure I would use the virtual resources since one could just as easily define those things in the classes they are used in. Virtual resources are better when you wnat to declare something in one place but it could be

[Puppet Users] Re: shorewall module for puppet

2008-09-30 Thread Graeme Gillies
Also Just for completeness sake On the server, this is the /etc/puppet/puppet.conf [main] # Where Puppet stores dynamic and growing data. # The default value is '/var/puppet'. vardir = /var/lib/puppet # The Puppet log directory. # The default value is '$vardir/log'. logd

[Puppet Users] Re: shorewall module for puppet

2008-09-30 Thread Graeme Gillies
Hi Pete, Thanks for your help, I really appreciate it. > this module is originally based on DavidS' > Module:http://git.black.co.at/?p=module-shorewalland as I'm one of the authors > of the version in of your repo I try to answer. > (As I see currently the repo box isn't avaiable, an alternativ

[Puppet Users] Re: What's wrong?

2008-09-30 Thread Paul Lathrop
On Tue, Sep 30, 2008 at 2:19 PM, dd-b <[EMAIL PROTECTED]> wrote: > I've managed to get up as far as 0.24.4 via EPEL, after being told it > actually should work (I can never really tell whether anybody has > actually used packages out of a repository before). 0.24.4 is a good, solid version. It ha

[Puppet Users] Re: something wrong with puppet client or Server

2008-09-30 Thread Vipul Ramani
WOW thanks MIKE , Sorry then i did not read properly ... but anyways thanks for all ... For super sonic faster response On Sep 30, 3:14 pm, Mike Renfro <[EMAIL PROTECTED]> wrote: > On 9/30/2008 5:02 PM, Vipul Ramani wrote: > > > thanks for answer !!! that awesome .. But i have never seen  

[Puppet Users] Re: something wrong with puppet client or Server

2008-09-30 Thread Mike Renfro
On 9/30/2008 5:02 PM, Vipul Ramani wrote: > thanks for answer !!! that awesome .. But i have never seen " unless > ==> " in documentation or recipe .. so ... http://reductivelabs.com/trac/puppet/wiki/TypeReference#exec has it. And it also has: It is critical that all commands executed usi

[Puppet Users] Re: something wrong with puppet client or Server

2008-09-30 Thread Vipul Ramani
WOW make sense !!! thanks for answer !!! that awesome .. But i have never seen " unless ==> " in documentation or recipe .. so ... let me try ... On Sep 30, 2:52 pm, "AJ Christensen" <[EMAIL PROTECTED]> wrote: > Best. Non-idempotent. Exec. Ever. > unless => "/bin/grep 'my line' /etc/vfstab"

[Puppet Users] something wrong with puppet client or Server

2008-09-30 Thread Vipul Ramani
Hi All, I have running puppet client and server on solaris 10 x86. Now days some of puppet client behaviors is something weird !!! or May be i am missing something... for ex. I created class to add one line in /etc/vfstab . but puppet client did it successfully 1st time ...But .. After few da

[Puppet Users] Re: something wrong with puppet client or Server

2008-09-30 Thread AJ Christensen
Best. Non-idempotent. Exec. Ever. unless => "/bin/grep 'my line' /etc/vfstab" in your exec{}. Regards, AJ 2008/10/1 Andrew Shafer <[EMAIL PROTECTED]> > Exec is not going to be idempotent unless you add the logic. > > You told Puppet to run that script every time, which adds the line. > > > On T

[Puppet Users] Re: something wrong with puppet client or Server

2008-09-30 Thread Andrew Shafer
Exec is not going to be idempotent unless you add the logic. You told Puppet to run that script every time, which adds the line. On Tue, Sep 30, 2008 at 3:46 PM, Peter Meier <[EMAIL PROTECTED]> wrote: > > Hi > > > I dont understand if once it is already added line in /etc/fstab why > > it is add

[Puppet Users] Re: something wrong with puppet client or Server

2008-09-30 Thread Peter Meier
Hi > I dont understand if once it is already added line in /etc/fstab why > it is adding every time because you have never defined how it knows then it's added. this is the expected behaviour of puppet. greets pete --~--~-~--~~~---~--~~ You received this mes

[Puppet Users] Re: What's wrong?

2008-09-30 Thread dd-b
On Sep 30, 3:53 pm, "Paul Lathrop" <[EMAIL PROTECTED]> wrote: > Yeah, we all generally agree that sticking to your distribution's > packages where possible is a best practice. > > In the case of Puppet; not so much. Puppet is a fast-moving target. > You will find, though, that prominent community

[Puppet Users] Re: What's wrong?

2008-09-30 Thread dd-b
On Sep 30, 3:36 pm, Peter Meier <[EMAIL PROTECTED]> wrote: > Hi > > > What version of puppet are you using? > > Sorry, it's puppet-0.22.4-1.el4.rf (from rpmforge).  On centos 4.6. > > >> as Paul mentioned, this version is heavily outdated. Best would be if > >> you would update to the lat

[Puppet Users] Re: What's wrong?

2008-09-30 Thread dd-b
On Sep 30, 1:45 pm, Peter Meier <[EMAIL PROTECTED]> wrote: > >>> What version of puppet are you using? > >> Sorry, it's puppet-0.22.4-1.el4.rf (from rpmforge).  On centos 4.6. > as Paul mentioned, this version is heavily outdated. Best would be if > you would update to the latest version. I s

[Puppet Users] Re: What's wrong?

2008-09-30 Thread Paul Lathrop
Yeah, we all generally agree that sticking to your distribution's packages where possible is a best practice. In the case of Puppet; not so much. Puppet is a fast-moving target. You will find, though, that prominent community members maintain packages which, while "unofficial" from a distro POV,

[Puppet Users] Re: What's wrong?

2008-09-30 Thread Peter Meier
Hi > What version of puppet are you using? > Sorry, it's puppet-0.22.4-1.el4.rf (from rpmforge). On centos 4.6. > >> as Paul mentioned, this version is heavily outdated. Best would be if >> you would update to the latest version. > > I shopped around a bit, and found the EPEL reposit

[Puppet Users] question about reports

2008-09-30 Thread Nicolas Arias
when a node tries to send a report it drops the following error: err: Reporting failed: undefined method `graph' for # on the server i have: reports = rrdgraph,store reportdir = /var/www/puppetreports rrddir = /var/www/html/rrd rrdinterval

[Puppet Users] Re: What's wrong?

2008-09-30 Thread dd-b
On Sep 30, 1:45 pm, Peter Meier <[EMAIL PROTECTED]> wrote: > as Paul mentioned, this version is heavily outdated. Best would be if > you would update to the latest version. It's the latest version available for Centos 4.6. I could try to install a Centos 5 rpm, but in general that fails in de

[Puppet Users] Re: What's wrong?

2008-09-30 Thread Peter Meier
Hi > Yeah, I suspect that version does *not* support the option in > question. That's OLD stuff :-) > > --Paul > > On Tue, Sep 30, 2008 at 11:26 AM, dd-b <[EMAIL PROTECTED]> wrote: >> >> >> On Sep 30, 1:18 pm, "Paul Lathrop" <[EMAIL PROTECTED]> wrote: >>> What version of puppet are you using? >

[Puppet Users] Re: Puppet clients stop talking to the puppetmaster server

2008-09-30 Thread Paul Lathrop
Have you restarted puppetmasterd? Often when I see changes not propagating to clients, it turns out there was a syntax error which stopped the puppetmaster from reloading changes. Try restarting puppetmasterd and watch the logs. --Paul On Mon, Sep 29, 2008 at 7:29 PM, josh <[EMAIL PROTECTED]> w

[Puppet Users] Re: Simplest setup not working

2008-09-30 Thread Paul Lathrop
There is a FAQ on the website which addresses this error message; I suspect you'd have less trouble if you upgraded to a more recent version of Puppet. --Paul On Tue, Sep 30, 2008 at 8:42 AM, dd-b <[EMAIL PROTECTED]> wrote: > > > > On Sep 30, 9:55 am, Ed Greenberg <[EMAIL PROTECTED]> wrote: > >>

[Puppet Users] Re: What's wrong?

2008-09-30 Thread Paul Lathrop
Yeah, I suspect that version does *not* support the option in question. That's OLD stuff :-) --Paul On Tue, Sep 30, 2008 at 11:26 AM, dd-b <[EMAIL PROTECTED]> wrote: > > > > On Sep 30, 1:18 pm, "Paul Lathrop" <[EMAIL PROTECTED]> wrote: >> What version of puppet are you using? > > Sorry, it's pup

[Puppet Users] Re: What's wrong?

2008-09-30 Thread dd-b
On Sep 30, 1:18 pm, "Paul Lathrop" <[EMAIL PROTECTED]> wrote: > What version of puppet are you using? Sorry, it's puppet-0.22.4-1.el4.rf (from rpmforge). On centos 4.6. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Gro

[Puppet Users] Re: What's wrong?

2008-09-30 Thread Paul Lathrop
What version of puppet are you using? --Paul On Tue, Sep 30, 2008 at 11:15 AM, dd-b <[EMAIL PROTECTED]> wrote: > > From puppetmaster.log: > > Tue Sep 30 11:38:35 CDT 2008 Puppet (warning): Discarded unknown > configuration parameter :certdnsnames > > But from

[Puppet Users] What's wrong?

2008-09-30 Thread dd-b
>From puppetmaster.log: Tue Sep 30 11:38:35 CDT 2008 Puppet (warning): Discarded unknown configuration parameter :certdnsnames But from : certdnsnames The DNS names on the Server certificate as a colon-separated list. If it's a

[Puppet Users] Confirming: London meet up, Weds 1st Oct 7pm.

2008-09-30 Thread Teyo Tyree
Hey, The Green Man bar seems to be the spot. It is just a few blocks up from training facility. The training should be concluded around 5PM. I will walk over after we have concluded for the day, and I am sure several of the class members will join us. Won't be a late night for me, but I wou

[Puppet Users] Re: Module Standards

2008-09-30 Thread Kenton Brede
On Mon, Sep 29, 2008 at 1:30 PM, Digant C Kasundra <[EMAIL PROTECTED]> wrote: > > > - "Kenton Brede" <[EMAIL PROTECTED]> wrote: > >> My question is, what's wrong with this setup? I ask this realizing >> the smallness of our >> operation makes me a little myopic. > > With a small operation, it

[Puppet Users] Changing server name

2008-09-30 Thread dd-b
My server has ended up with a certificate for the public name of the system it's on; and that name isn't accessible internally. So clients try to connect to the internal name, and then find that the certificate doesn't match. So, presumably there is some way to destroy the old certificate, and t

[Puppet Users] Re: London meet up, Weds 1st Oct 7pm.

2008-09-30 Thread AndyH
On Sep 30, 2:12 pm, Paul Nasrat <[EMAIL PROTECTED]> wrote: > > I can be there around 7pm, have to do some datacentre work whilst i'm > > in London. If anyone can get there sooner, holler. > > I'll be there from a bit earlier (probably 18:00), and try to have   > some obvious puppet indicator wit

[Puppet Users] Re: Simplest setups not working

2008-09-30 Thread dd-b
On Sep 29, 11:26 pm, Teyo Tyree <[EMAIL PROTECTED]> wrote: > David Dyer-Bennet wrote: > > Puppet is kicking my ass.  Maybe I'm having a stupid day. > > Don't worry it kicks my ass everyday, but I am training, and one day > I'll take it down I swear. I'm having hopes; but more for the long run th

[Puppet Users] Re: Simplest setup not working

2008-09-30 Thread dd-b
On Sep 30, 9:55 am, Ed Greenberg <[EMAIL PROTECTED]> wrote: > I think this might be a time sync problem. Please check that the time > matches on the puppetmaster and the client. Thanks, but no. All the systems involved are running NTP, and the actual times on them match very closely. --~--~-

[Puppet Users] Re: External/internal nodes

2008-09-30 Thread Luke Kanies
On Sep 27, 2008, at 3:01 PM, Eric Moore wrote: > > Luke Kanies <[EMAIL PROTECTED]> writes: > >> On Sep 26, 2008, at 4:11 PM, Eric Moore wrote: >> >>> When does the internal node definition get used, i.e. under what >>> circumstances? What do the internal nodes do in combination with >>> the >>

[Puppet Users] Re: Pulling Strings with Puppet

2008-09-30 Thread James Turnbull
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Evan Hisey wrote: > Um, the ebook does not use DRM technology. It uses just an old fashion > password protection scheme. This is a reasonable, if some what > annoying copyright management that still lets you share the ebook just > like a normal book.

[Puppet Users] Re: Pulling Strings with Puppet

2008-09-30 Thread Evan Hisey
Um, the ebook does not use DRM technology. It uses just an old fashion password protection scheme. This is a reasonable, if some what annoying copyright management that still lets you share the ebook just like a normal book. Evan On Tue, Sep 30, 2008 at 8:54 AM, windowsrefund <[EMAIL PROTECTED]>

[Puppet Users] Re: Simplest setup not working

2008-09-30 Thread Ed Greenberg
dd-b wrote: > On Sep 29, 4:44 pm, "Dave Nash" <[EMAIL PROTECTED]> wrote: > >> "puppetd --server=YOUR PUPPET MASTER" should get you rolling. I believe by >> default puppet looks for a server named puppet in the DNS search path. >> > > Okay, that solved the problem of not finding the server

[Puppet Users] Re: Simplest setup not working

2008-09-30 Thread dd-b
On Sep 29, 4:44 pm, "Dave Nash" <[EMAIL PROTECTED]> wrote: > "puppetd --server=YOUR PUPPET MASTER" should get you rolling.  I believe by > default puppet looks for a server named puppet in the DNS search path. Okay, that solved the problem of not finding the server. Thanks! But didn't get me mu

[Puppet Users] Re: Simplest setup not working

2008-09-30 Thread dd-b
On Sep 29, 4:44 pm, "Dave Nash" <[EMAIL PROTECTED]> wrote: > "puppetd --server=YOUR PUPPET MASTER" should get you rolling.  I believe by > default puppet looks for a server named puppet in the DNS search path. Okay, that solved the problem of not finding the server. Thanks! But didn't get me mu

[Puppet Users] Re: Simplest setup not working

2008-09-30 Thread dd-b
On Sep 29, 4:44 pm, "Dave Nash" <[EMAIL PROTECTED]> wrote: > "puppetd --server=YOUR PUPPET MASTER" should get you rolling.  I believe by > default puppet looks for a server named puppet in the DNS search path. Okay, that solved the problem of not finding the server. Thanks! But didn't get me mu

[Puppet Users] Re: Pulling Strings with Puppet

2008-09-30 Thread windowsrefund
James, I'm glad to hear you are against DRM and are planning to oppose it going forward. As for my copy, I was able to access it again. All the best, Adam Kosmin On Sep 30, 8:45 am, "Robert Foreman" <[EMAIL PROTECTED]> wrote: > I believe the pass phrase is simply the email address you ordered t

[Puppet Users] Re: shorewall module for puppet

2008-09-30 Thread Peter Meier
Hi > I am currently trying to roll out puppet across our company as a means > of managing the configuration for all our systems. I am really keen to > get it into production use, but I have hit a bit of a brick wall with > a particular problem. We use shorewall to manage all system level > firewa

[Puppet Users] Re: [Puppet-dev] London meet up, Weds 1st Oct 7pm.

2008-09-30 Thread Paul Nasrat
> > > I can be there around 7pm, have to do some datacentre work whilst i'm > in London. If anyone can get there sooner, holler. I'll be there from a bit earlier (probably 18:00), and try to have some obvious puppet indicator with me and try and grab a table. Paul --~--~-~--~~---

[Puppet Users] London meet up, Weds 1st Oct 7pm.

2008-09-30 Thread Mike Pountney
Sorry to re-post this, but considering I was about to cross post to - dev I thought it best to get it on its own thread. If anyone is keen to meet up in London tomorrow, whilst the training course is in town, I'll be sitting drinking a pint or three of cider at The Green Man: > http://www.f

[Puppet Users] shorewall module for puppet

2008-09-30 Thread Graeme Gillies
Hi, I am currently trying to roll out puppet across our company as a means of managing the configuration for all our systems. I am really keen to get it into production use, but I have hit a bit of a brick wall with a particular problem. We use shorewall to manage all system level firewalls and I

[Puppet Users] Re: Pulling Strings with Puppet

2008-09-30 Thread Robert Foreman
I believe the pass phrase is simply the email address you ordered the ebook with. That's what it is on mine. On Mon, Sep 29, 2008 at 9:07 PM, James Turnbull <[EMAIL PROTECTED]>wrote: > > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > windowsrefund wrote: > > James, > > > > I'm really bothere

[Puppet Users] Re: London Training Sept 29th - Oct 3rd

2008-09-30 Thread Mike Pountney
Anyone still keen to meet up in London? If so, considering the closeness to the training venue, let's meet here: > http://www.fancyapint.com/pubs/pub847.html ... it specialises in Cider too. Yeehaw. Handy map stuff: http://maps.google.com/maps?daddr=36+Riding+House+St,+Westminster,+London+W1W,