[Puppet Users] Re: UsingMongrelPound

2009-06-14 Thread Moty
FIXED: I had to recompile pound with --enable-cert1l . Probably Ubuntu 9.04 pound distribution is not compiled with that option. Moty On Jun 14, 6:33 pm, Moty wrote: > Currently I'm stuck so nothing to write ... > > I've struggled through the signning phase of the client and now I have > me

[Puppet Users] Re: removing resources no longer specified

2009-06-14 Thread John Ferlito
On Mon, Jun 15, 2009 at 09:27:02AM +1000, Geoff Crompton wrote: > Currently, if I want to remove resources from a node that I've > previously configured, I'm doing 'anti' patterns. Is there away for > puppet to do it for me? For example, if I started with: > This sort of functionality is somet

[Puppet Users] removing resources no longer specified

2009-06-14 Thread Geoff Crompton
Currently, if I want to remove resources from a node that I've previously configured, I'm doing 'anti' patterns. Is there away for puppet to do it for me? For example, if I started with: define website () { file { "/etc/apache2/sites-enabled/$name.conf": content => template("websi

[Puppet Users] Re: POLL: Migrating web changes across load-balanced servers

2009-06-14 Thread Tim Allingham
Hi Mike, I'm not sure if your after puppet-specific methods, or just general systems for this? When we set up our load balancing and DR, we preferred to keep it simple, the methods used are outlined below. 1) Site code - This is managed but subversion, we maintain separate repositories for test

[Puppet Users] POLL: Migrating web changes across load-balanced servers

2009-06-14 Thread drmikecrowe
Hi folks, I'm polling the group to see what some basic techniques are that people use to migrate web sites to load-balanced servers. In the past, IRC folks have mentioned rsysnc as the way. I'm specifically curious if people are: 1) Letting puppet MD5 a website via a file{} tag? Could that be

[Puppet Users] Re: Testing manifests before you check in?

2009-06-14 Thread Julian Simpson
Thanks for sharing, David. Maybe there's the rub. The big systems can't be reduced down to such a simple approach, and the little systems don't require such rigour? I don't run many nodes but I do have this obsessing with testing infrastructure. J. > One of my problems with this approach is m

[Puppet Users] Re: symbolic link without full path

2009-06-14 Thread Joe McDonagh
Rene wrote: > Hi > > Is it possible to create a link like: > .bashrc -> .profile > > without absolute path and without using an exec? > > BR Rene > > > I have definitions for my users that include a resource for bashrc. If you were doing it this way, you could ensure that something like this

[Puppet Users] Re: UsingMongrelPound

2009-06-14 Thread Moty
Currently I'm stuck so nothing to write ... I've struggled through the signning phase of the client and now I have messages from pound saying: line too long: CN= line too long: CN= I'm using: Ubuntu server 9.04 Puppet master and client 0.24.5 Pound 2.4.3 I've noticed that pound version 2.3 h

[Puppet Users] symbolic link without full path

2009-06-14 Thread Rene
Hi Is it possible to create a link like: .bashrc -> .profile without absolute path and without using an exec? BR Rene --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, sen

[Puppet Users] Re: UsingMongrelPound

2009-06-14 Thread David Schmitt
Moty schrieb: > > Hi, > > Can anyone say if the article > http://reductivelabs.com/trac/puppet/wiki/UsingMongrelPound > is up to date ? > > I've started my server according to that and I'm jumping from one fix > to another > If you find problems with the procedure, please document the fi

[Puppet Users] Re: Testing manifests before you check in?

2009-06-14 Thread David Schmitt
Julian Simpson schrieb: > I've seen some excellent discussion on how some people in the > community test their puppet manifests before they check in. I'm still > left wanting a little more. Perhaps I'm being a little pedantic? [good ideas for local testing] > Does this appeal to anybody else?

[Puppet Users] UsingMongrelPound

2009-06-14 Thread Moty
Hi, Can anyone say if the article http://reductivelabs.com/trac/puppet/wiki/UsingMongrelPound is up to date ? I've started my server according to that and I'm jumping from one fix to another Moty --~--~-~--~~~---~--~~ You received this message because you

[Puppet Users] Testing manifests before you check in?

2009-06-14 Thread Julian Simpson
I've seen some excellent discussion on how some people in the community test their puppet manifests before they check in. I'm still left wanting a little more. Perhaps I'm being a little pedantic? What I start with is making sure all the files are legal, with this Rake task: desc "Test" t

[Puppet Users] Re: Iterating over the cross-product of two arrays

2009-06-14 Thread David Schmitt
Brian Ferris schrieb: > I have a list of databases and a list of users. I want to to grant > privileges on each database to each user, for a total of # databases x > # users. I'd rather not write out the grant snippet for each unique > combination, but rather define the databases as an array of