Re: [Puppet Users] REMOVE ME

2011-01-25 Thread Martijn Grendelman
Please step into my office, and I'll remove you :-) Or look at the mail headers and take appropriate action: List-Unsubscribe: , Regards, Martijn. On 25-01-11 07:48, ralph.gro..

Re: [Puppet Users] Re: Do we need a new name for "--test"?

2011-01-25 Thread Felix Frank
On 01/24/2011 09:39 PM, R.I.Pienaar wrote: > > > - Original Message - >> On Jan 24, 2011, at 11:17 AM, R.I.Pienaar wrote: >> >>> - Original Message - If we don't want --manual you could go with --watch as that's really what I'm doing - watching puppet run. :) >>> >>

[Puppet Users] Another question concerning run stages

2011-01-25 Thread Jan
Hi all, even though I've read some postings about run stages, I'm still having trouble using them correctly. First of all: Is it possible to add a stage directly when defining a class? That question has already been asked here (in section 2): http://groups.google.com/group/puppet-users/browse_thr

Re: [Puppet Users] Another question concerning run stages

2011-01-25 Thread Felix Frank
On 01/25/2011 11:54 AM, Jan wrote: > Hi all, > > even though I've read some postings about run stages, I'm still having > trouble using them correctly. > > First of all: Is it possible to add a stage directly when defining a > class? That question has already been asked here (in section 2): > htt

Re: [Puppet Users] Re: Do we need a new name for "--test"?

2011-01-25 Thread R.I.Pienaar
On 25 Jan 2011, at 10:30, Felix Frank wrote: > On 01/24/2011 09:39 PM, R.I.Pienaar wrote: >> >> >> - Original Message - >>> On Jan 24, 2011, at 11:17 AM, R.I.Pienaar wrote: >>> - Original Message - > If we don't want --manual you could go with --watch as that's >

Re: [Puppet Users] Mirror folder with large files

2011-01-25 Thread Daniel Piddock
On 24/01/11 20:57, Patrick wrote: > On Jan 24, 2011, at 9:14 AM, Daniel Piddock wrote: > >> Dear list, >> >> I'm attempting to mirror a folder containing a few large files from an >> NFS location to the local drive. Subsequent runs take a lot longer than >> I'd have expected, after the first run. >

Re: [Puppet Users] Mirror folder with large files

2011-01-25 Thread Brice Figureau
On Mon, 2011-01-24 at 17:14 +, Daniel Piddock wrote: > Dear list, > > I'm attempting to mirror a folder containing a few large files from an > NFS location to the local drive. Subsequent runs take a lot longer than > I'd have expected, after the first run. > > Using the following block a pupp

Re: [Puppet Users] scheduler problem?

2011-01-25 Thread Peter Meier
the notify is executed only once but tidy still during each run. is this a bug or a feature? if a bug, is it fixed in some recent version? I would say a bug. Check the bug tracker: http://projects.puppetlabs.com/projects/puppet/issues for any open or closed bugs regarding that problem and i

Re: [Puppet Users] Re: Puppet master cannot connect to self

2011-01-25 Thread Robert Scheer
On Mon, Jan 24, 2011 at 09:21 -0800, luke.bigum wrote: > Down the bottom of Masterzen's blog post are some helpful openssl > commands for checking certificates: > http://www.masterzen.fr/2010/11/14/puppet-ssl-explained/ Thanks for the info, I figured it out! The key to the solution was the part

[Puppet Users] Re: Another question concerning run stages

2011-01-25 Thread Jan
On Jan 25, 12:13 pm, Felix Frank wrote: > On 01/25/2011 11:54 AM, Jan wrote: > > > > > Hi all, > > > even though I've read some postings about run stages, I'm still having > > trouble using them correctly. > > > First of all: Is it possible to add a stage directly when defining a > > class? That q

Re: [Puppet Users] Re: Another question concerning run stages

2011-01-25 Thread Felix Frank
> I am now trying without any module to make debugging easier. I've got > the following: > class afs { > service { "openafs-client": > enable=> true, > ensure=> running, > } > } > class afs_staging inherits afs { > Class["afs"] { stage => "first" } > } Not quite correct. Yo

Re: [Puppet Users] Mirror folder with large files

2011-01-25 Thread Daniel Piddock
On 25/01/11 12:45, Brice Figureau wrote: > On Mon, 2011-01-24 at 17:14 +, Daniel Piddock wrote: >> Dear list, >> >> I'm attempting to mirror a folder containing a few large files from an >> NFS location to the local drive. Subsequent runs take a lot longer than >> I'd have expected, after the f

[Puppet Users] How to update CA cert?

2011-01-25 Thread Robert Scheer
What happens if the generated CA cert expires? Does puppet detect that in time and generates and distributes a new CA cert? Or do I have to generate and distribute one myself? Robert Scheer -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To pos

[Puppet Users] What's new about the Webrick/Mongrel situation ?

2011-01-25 Thread Romain Pelisse
Hi, I've just finished James Turnbull book "Pulling Strings With Puppet" - which definitely an excellent introduction to Puppet, and I was wondering - as the book is a couple years old, what was the status of the all mongrel/webrick situation ? I guess it's still recommended to use Mongrel rather

[Puppet Users] Syncing /modules --dir via Puppet

2011-01-25 Thread CraftyTech
Hello All, For those who run multiple Puppetmasters; what's your method of syncing the modules directory? NFS, rsync, etc? I'm asking, because I'd like to use puppet itself to sync up the modules. I know that the normally the modules dir gets shared automatically, but what would be the i

[Puppet Users] puppet ca: Invalid method to apply

2011-01-25 Thread Mohamed Lrhazi
What does this message mean: [root@pirates puppet]# rm -rf /var/lib/puppet/ssl/ [root@pirates puppet]# puppet cert --version 2.6.3 [root@pirates puppet]# puppet cert notice: Signed certificate request for ca notice: Rebuilding inventory file Invalid method to apply It seems to have created the c

Re: [Puppet Users] puppet ca: Invalid method to apply

2011-01-25 Thread Felix Frank
On 01/25/2011 05:48 PM, Mohamed Lrhazi wrote: > What does this message mean: > > [root@pirates puppet]# rm -rf /var/lib/puppet/ssl/ > [root@pirates puppet]# puppet cert --version > 2.6.3 > [root@pirates puppet]# puppet cert Aren't you supposed to 'puppet cert --list', 'puppet cert --sign' etc. in

Re: [Puppet Users] Syncing /modules --dir via Puppet

2011-01-25 Thread Brian Gallew
Since my manifests are all in Subversion, all my puppet masters run a job every hour that updates all of the local branches (prod, dev, etc). On Jan 25, 2011, at 8:46 AM, CraftyTech wrote: > Hello All, > > For those who run multiple Puppetmasters; what's your method of syncing > the modul

[Puppet Users] Re: Syncing /modules --dir via Puppet

2011-01-25 Thread luke.bigum
It's a single point of failure, but I have the Puppet Masters NFS mount their modules and manifests from another host. Rsync out of cron would be all right if you are fine with your Puppet Masters being potentially out of sync for short periods of time. If you use SVN or some other RCS then you cou

[Puppet Users] Re: Syncing /modules --dir via Puppet

2011-01-25 Thread Atha Kouroussis
We keep all of our puppet manifests and modules in git and use capistrano for deployment. Cheers, Atha On Tuesday, January 25, 2011 at 11:46 AM, CraftyTech wrote: > Hello All, > > > For those who run multiple Puppetmasters; what's your method of syncing the > modules directory? NFS, rsync,

[Puppet Users] correct procedure for installing modules from http://forge.puppetlabs.com

2011-01-25 Thread Tim
I am trying to use a module from puppet forge and I don't understand the instructions at https://github.com/puppetlabs/puppet-module-tool "Install a module release" . What is meant by the sentence "you can then add this module directory to your Puppet configuration files to use it.". I am just usin

Re: [Puppet Users] What's new about the Webrick/Mongrel situation ?

2011-01-25 Thread Nigel Kersten
On Tue, Jan 25, 2011 at 8:27 AM, Romain Pelisse wrote: > Hi, > I've just finished James Turnbull book "Pulling Strings With Puppet" - which > definitely an excellent introduction to Puppet, and I was wondering - as the > book is a couple years old, what was the status of the all mongrel/webrick >

Re: [Puppet Users] puppet ca: Invalid method to apply

2011-01-25 Thread Mohamed Lrhazi
I read that to generate CA certs, one simply runs: puppetca So for 2.6 I did: puppet cert On Tue, Jan 25, 2011 at 11:50 AM, Felix Frank wrote: > On 01/25/2011 05:48 PM, Mohamed Lrhazi wrote: >> What does this message mean: >> >> [root@pirates puppet]# rm -rf /var/lib/puppet/ssl/ >> [root@pirates

Re: [Puppet Users] high 500 error rate on file metadata operations

2011-01-25 Thread Jason Wright
On Mon, Jan 24, 2011 at 9:24 PM, Daniel Pittman wrote: > For the other two exceptions, do you have 'ArgumentError' "Could not > find hostname" raised anywhere, or FileServerError, "Fileserver module > %s is not mounted"?  They also, ultimately, lead down to a place where > I/O subsystem errors cou

Re: [Puppet Users] high 500 error rate on file metadata operations

2011-01-25 Thread Brice Figureau
On 25/01/11 18:47, Jason Wright wrote: > On Mon, Jan 24, 2011 at 9:24 PM, Daniel Pittman wrote: >> For the other two exceptions, do you have 'ArgumentError' "Could not >> find hostname" raised anywhere, or FileServerError, "Fileserver module >> %s is not mounted"? They also, ultimately, lead down

Re: [Puppet Users] high 500 error rate on file metadata operations

2011-01-25 Thread Nigel Kersten
On Tue, Jan 25, 2011 at 10:25 AM, Brice Figureau wrote: > On 25/01/11 18:47, Jason Wright wrote: >> On Mon, Jan 24, 2011 at 9:24 PM, Daniel Pittman >> wrote: >>> For the other two exceptions, do you have 'ArgumentError' "Could not >>> find hostname" raised anywhere, or FileServerError, "Fileserv

Re: [Puppet Users] high 500 error rate on file metadata operations

2011-01-25 Thread Brice Figureau
On 25/01/11 19:27, Nigel Kersten wrote: > On Tue, Jan 25, 2011 at 10:25 AM, Brice Figureau > wrote: >> On 25/01/11 18:47, Jason Wright wrote: >>> On Mon, Jan 24, 2011 at 9:24 PM, Daniel Pittman >>> wrote: For the other two exceptions, do you have 'ArgumentError' "Could not find hostnam

Re: [Puppet Users] high 500 error rate on file metadata operations

2011-01-25 Thread Jason Wright
On Tue, Jan 25, 2011 at 10:48 AM, Brice Figureau wrote: >>> xmlrpc? >>> Do you still have 0.24.x clients? No. We're 0.25.5 across the board. >>> You omitted one important piece of information which is the kind of >>> exception along with the error message. Can you post it so that we can >>> und

Re: [Puppet Users] high 500 error rate on file metadata operations

2011-01-25 Thread Brice Figureau
On 25/01/11 20:10, Jason Wright wrote: > On Tue, Jan 25, 2011 at 10:48 AM, Brice Figureau > wrote: xmlrpc? Do you still have 0.24.x clients? > > No. We're 0.25.5 across the board. > You omitted one important piece of information which is the kind of exception along with the

Re: [Puppet Users] Do we need a new name for "--test"?

2011-01-25 Thread Thomas Bellman
Nigel Kersten wrote: On Mon, Jan 24, 2011 at 12:27 AM, DEGREMONT Aurelien wrote: We never use puppetd in daemonized mode, and manual runs puppet when needed with -t option. You shouldn't be doing this. If you're running puppet agent out of cron, you should do something like: puppetd --one

[Puppet Users] Re: Compile Puppet on Ubuntu

2011-01-25 Thread TT
Thanks a bunch. I don't know how I missed this information before. I used the instructions on http://docs.puppetlabs.com/guides/installation.html. I tried to first do the methodology using gems and it looked to install, but then I couldn't find any proof that it had installed, so I used the sourc

Re: [Puppet Users] Re: puppetmaster 100%cpu usage on 2.6 (not on 0.24)

2011-01-25 Thread Micah Anderson
Brice Figureau writes: > On 15/12/10 19:27, Ashley Penney wrote: >> This issue is definitely a problem. I have a support ticket in with >> Puppet Labs about the same thing. My CPU remains at 100% almost >> constantly and it slows things down significantly. If you strace it you >> can see that

[Puppet Users] Purge non-managed cron entries

2011-01-25 Thread Roberto Bouza
Hello everyone, I'm trying to purge all the non managed cron entries but I'm getting an error... the systax is very simple. :-) I saw a bug but it looked like it was from 0.25 I'm using 2.6.4 Any help will be appreciated. Thx. class my::cron { # Remove all the unmanaged resources from the c

[Puppet Users] Re: Compile Puppet on Ubuntu

2011-01-25 Thread TT
So, upon further review, it appears that install.rb does not work. I found some threads addressing this issue: According to http://www.apacheserver.net/puppet-2-6-4-installation-options-for-redhat-centos-at1098441.htm: (pasting below:) I actually found the fix for the tar file method - the 'in

[Puppet Users] RFC: erronously disabling apt-listchanges - #5604

2011-01-25 Thread Micah Anderson
Hi all, It seems that an isolated group of us has come to a mini-consensus about #5604, but I wanted to post to the list to get some wider discussion. As detailed in #5604, the puppet apt provider mysteriously, and rather aggressively, disables apt-listchanges using an environment variable. This

Re: [Puppet Users] RFC: erronously disabling apt-listchanges - #5604

2011-01-25 Thread Daniel Pittman
On Tue, Jan 25, 2011 at 16:36, Micah Anderson wrote: > It seems that an isolated group of us has come to a mini-consensus about > #5604, but I wanted to post to the list to get some wider discussion. [...] > I think that if puppet wants to help people who have configured some > software wrong (wh