[Puppet Users] Re: storeconfig / mysql

2010-12-12 Thread walexey
> > Puppet (err): Could not retrieve catalog from remote server: Error 400 > > on SERVER: Mysql::Error: MySQL server has gone away > > > how can i fix it? > > > wbr, alw > > Would you happen to be running the puppet master(s) in mongrel? Yes, it runs with mongrel wbr, alw -- You received this me

[Puppet Users] Best passenger stack for 2.6

2010-12-12 Thread John Warburton
Hi All I saw quite a bit of discussion a few months ago about getting passenger to run on 2.6. I was wondering if there was a consensus, as it isn't reflected in http://projects.puppetlabs.com/projects/1/wiki/Using_Passenger. I am having a caching issue with config_version and I want to eliminate

Re: [Puppet Users] puppetlabs.com down?

2010-12-12 Thread Adam Gibbins
On Mon, Dec 13, 2010 at 3:17 AM, John Warburton wrote: > It seems it isn't me - > http://downforeveryoneorjustme.com/www.puppetlabs.com > Seems to be up now. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to

[Puppet Users] puppetlabs.com down?

2010-12-12 Thread John Warburton
It seems it isn't me - http://downforeveryoneorjustme.com/www.puppetlabs.com -- 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 this group, send email to puppe

[Puppet Users] Create many similar files from an array in a module manifest

2010-12-12 Thread Alex
Hi, I want to create a single configuration file with one or two differences, many times. Therefore, i'd like to do the following in pseudo-code: files = [(a,b), (c,d), (e,f)...] foreach a,b in files: create_file(a,b) Which can then use what I think is a valid definition: define create_file($p

[Puppet Users] monitoring contents of a directory

2010-12-12 Thread russell.fulton
Hi I am using puppet to mirror a directory of files, if any of these change then processes need to be restarted. class snort { package { ["snort", "perl-Archive-Tar", "barnyard2", "perl-libwww-perl", "perl- Crypt-SSLeay"]: ensure => present; } # package user{

Re: [Puppet Users] apt-get -t lenny-backports

2010-12-12 Thread Daniel Pittman
On Mon, Dec 13, 2010 at 06:44, Adrian Tofan wrote: > thank you for advice.   Unfortunately I didn't managed to do what I planed. > In fact I tried using Debian pinning which allowed me to upgrade ruby gems > using the -t option (manualy). -t was needed and I didn't managed to avoid it. > > Unfo

Re: [Puppet Users] apt-get -t lenny-backports

2010-12-12 Thread Adrian Tofan
Hi everybody, thank you for advice. Unfortunately I didn't managed to do what I planed. In fact I tried using Debian pinning which allowed me to upgrade ruby gems using the -t option (manualy). -t was needed and I didn't managed to avoid it. Unfortunately Debian's runbgems is highly modified

Re: [Puppet Users] design advice on coding my first type / provider

2010-12-12 Thread Richard Crowley
> 2. is going to do unnecessary work (and I'll have to create the user > if they don't exist anyway) I've written types that do this with great success. Be careful that performing that repetitive action isn't expensive or otherwise degrading to normal operation. If it creates any kind of race co

Re: [Puppet Users] apt-get -t lenny-backports

2010-12-12 Thread Patrick
On Dec 11, 2010, at 11:59 PM, Olivier Le Cam wrote: > Hi - > > On 12/12/10 05:01, Ben wrote: >>> Is there a way when installing a package like this : >>> >>> package { "rubygems": >>> ensure => installed, >>> } >>> >>> to pass -t parameter to apt-get in order to use a specific apt >>> source ?

Re: [Puppet Users] apt-get -t lenny-backports

2010-12-12 Thread Olivier Le Cam
Hi - On 12/12/10 05:01, Ben wrote: Is there a way when installing a package like this : package { "rubygems": ensure => installed, } to pass -t parameter to apt-get in order to use a specific apt source ? EG : apt-get install -t lenny-backports rubygems Ideally I would not use exec ... I my