Re: [Puppet Users] erb syntaxe IF OR

2010-04-08 Thread smain kahlouch
2010/4/8 Peter Meier > I would like to specify a condition, what is the wright syntax for >> <% if hostname == 'some' or 'someother' then %> >> > > erb is plain ruby, so have a look at the ruby language, how the right > syntax would be. I assume you would like to do something like: > > <% if (hos

[Puppet Users] erb syntaxe IF OR

2010-04-08 Thread smain kahlouch
Hi all, I would like to specify a condition, what is the wright syntax for <% if hostname == 'some' or 'someother' then %> Thanks again, Grifith -- 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...@

Re: [Puppet Users] Passenger doesn't work

2010-04-07 Thread smain kahlouch
2010/4/7 Jeff McCune > On Wed, Apr 7, 2010 at 7:16 AM, smain kahlouch wrote: > > Hi, > > > > I'm coming back 'cause i still notice the same error. > > I installed a new VM (debian 64) > > I followed exactly the documentation (installation of passeng

Re: [Puppet Users] Passenger doesn't work

2010-04-07 Thread smain kahlouch
2010/3/31 Ben Lovell > On 31 March 2010 11:20, smain kahlouch wrote: > >> >> >> 2010/3/31 Ben Lovell >> >>> On 31 March 2010 11:03, smain kahlouch wrote: >>> >>>> >>>> >>>> 2010/3/31 Ben Lovell >>&

Re: [Puppet Users] Mongrel : Can't download files

2010-04-06 Thread smain kahlouch
2010/4/2 smain kahlouch > > > 2010/4/1 smain kahlouch > > >> >> 2010/4/1 Smain Kahlouch >> >> Message initial >>> De: Michael DeHaan >>> Reply-to: puppet-users@googlegroups.com >>> À: puppet-users@googlegroups

Re: [Puppet Users] Mongrel : Can't download files

2010-04-02 Thread smain kahlouch
2010/4/1 smain kahlouch > > > 2010/4/1 Smain Kahlouch > > Message initial >> De: Michael DeHaan >> Reply-to: puppet-users@googlegroups.com >> À: puppet-users@googlegroups.com >> Cc: James Turnbull >> Sujet: Re: [Puppet Users] Mo

Re: [Puppet Users] Mongrel : Can't download files

2010-04-01 Thread smain kahlouch
2010/4/1 Smain Kahlouch > Message initial > De: Michael DeHaan > Reply-to: puppet-users@googlegroups.com > À: puppet-users@googlegroups.com > Cc: James Turnbull > Sujet: Re: [Puppet Users] Mongrel : Can't download files > Date: Wed, 31 Mar 2010 10:

Re: [Puppet Users] Mongrel : Can't download files

2010-03-31 Thread Smain Kahlouch
Message initial De: Michael DeHaan Reply-to: puppet-users@googlegroups.com À: puppet-users@googlegroups.com Cc: James Turnbull Sujet: Re: [Puppet Users] Mongrel : Can't download files Date: Wed, 31 Mar 2010 10:17:24 -0400 On Wed, Mar 31, 2010 at 6:05 AM, smain kah

Re: [Puppet Users] Passenger doesn't work

2010-03-31 Thread smain kahlouch
2010/3/31 Ben Lovell > On 31 March 2010 11:03, smain kahlouch wrote: > >> >> >> 2010/3/31 Ben Lovell >> >> >>>>>>>> >>>>>>>> 2010/3/30 Peter Meier >>>>>>>> >>>>>&g

[Puppet Users] Mongrel : Can't download files

2010-03-31 Thread smain kahlouch
Hi, i'm following the steps of the documentation but the links are not working. I can't download the files : http://projects.reductivelabs.com/projects/puppet/wiki/Using_Mongrel_On_Debian Thanks for your help, Grifith -- You received this message because you are subscribed to the Google Groups

Re: [Puppet Users] Passenger doesn't work

2010-03-31 Thread smain kahlouch
2010/3/31 Ben Lovell > >> >> 2010/3/30 Peter Meier >> >> gem update rack Updating installed gems Updating rack Successfully installed rack-1.1.0 Gems updated: rack I still have the same error. >>> >>> just to

Re: [Puppet Users] Passenger doesn't work

2010-03-31 Thread smain kahlouch
2010/3/31 Daniel Kerwin > Can you post your apache config? Maybe you want to compare it to i > config i posted: > http://www.linuxaddicted.de/blog/2010/03/18/puppetmasterd-and-passenger/ > > On Wed, Mar 31, 2010 at 9:48 AM, smain kahlouch > wrote: > > > >

Re: [Puppet Users] Passenger doesn't work

2010-03-31 Thread smain kahlouch
2010/3/30 smain kahlouch > > > 2010/3/30 Ben Lovell > >> On 30 March 2010 16:38, smain kahlouch wrote: >> >>> >>> >>> 2010/3/30 smain kahlouch >>> >>>> >>>> >>>> 2010/3/30 smain kahlouch >>&

Re: [Puppet Users] Passenger doesn't work

2010-03-30 Thread smain kahlouch
2010/3/30 Ben Lovell > On 30 March 2010 16:38, smain kahlouch wrote: > >> >> >> 2010/3/30 smain kahlouch >> >>> >>> >>> 2010/3/30 smain kahlouch >>> >>> >>>> >>>> 2010/3/30 Peter Meier

Re: [Puppet Users] puppet 0.25.4 & passenger

2010-03-30 Thread smain kahlouch
I had the same error, i just changed the permissions of the config.ru file. It has to be owned by the user puppet 2010/3/30 cnjohnson > If I run puppetmasterd alone I can connect to an 0.24.x client. > However, if I use passenger (2.2.11) and apache I get the following > error in my apache error

Re: [Puppet Users] Passenger doesn't work

2010-03-30 Thread Smain Kahlouch
Ok, i think i'll have to come back to mongrel. It seemed to me simplier. :( Message initial De: smain kahlouch À: puppet-users@googlegroups.com Sujet: Re: [Puppet Users] Passenger doesn't work Date: Tue, 30 Mar 2010 17:38:52 +0200 2010/3/30 smai

Re: [Puppet Users] Passenger doesn't work

2010-03-30 Thread smain kahlouch
2010/3/30 smain kahlouch > > > 2010/3/30 smain kahlouch > > >> >> 2010/3/30 Peter Meier >> >> gem update rack >>>> Updating installed gems >>>> Updating rack >>>> Successfully installed rack-1.1.0 >>>> Gems

Re: [Puppet Users] Passenger doesn't work

2010-03-30 Thread smain kahlouch
2010/3/30 smain kahlouch > > > 2010/3/30 Peter Meier > > gem update rack >>> Updating installed gems >>> Updating rack >>> Successfully installed rack-1.1.0 >>> Gems updated: rack >>> >>> I still have the same error. >>

Re: [Puppet Users] Passenger doesn't work

2010-03-30 Thread smain kahlouch
2010/3/30 Peter Meier > gem update rack >> Updating installed gems >> Updating rack >> Successfully installed rack-1.1.0 >> Gems updated: rack >> >> I still have the same error. >> > > just to be sure: you restarted apache, right? > > can you give us a list of your installed gems, as well you ser

Re: [Puppet Users] Passenger doesn't work

2010-03-30 Thread smain kahlouch
2010/3/30 Ben Lovell > On 30 March 2010 12:31, smain kahlouch wrote: > >> >> >> 2010/3/30 Ben Lovell >> >>> On 30 March 2010 11:36, smain kahlouch wrote: >>> >>>> Hi, >>>> >>>> I've got the following er

Re: [Puppet Users] Passenger doesn't work

2010-03-30 Thread smain kahlouch
2010/3/30 Ben Lovell > On 30 March 2010 11:36, smain kahlouch wrote: > >> Hi, >> >> I've got the following errors when i try to connect from a client. I have >> no idea how to solve that. >> I'm migrating to passenger. >> >> >>

[Puppet Users] Passenger doesn't work

2010-03-30 Thread smain kahlouch
Hi, I've got the following errors when i try to connect from a client. I have no idea how to solve that. I'm migrating to passenger. err: /File[/var/lib/puppet/lib]: Failed to generate additional resources using 'eval_generate': Error 400 on SERVER: undefined method `path' for # debug: file_

Re: [Puppet Users] Passenger Apache2 Certificates

2010-03-30 Thread smain kahlouch
e relevant fines > in your /var/lib/puppet/ssl dir :) > > something in the spirit of > http://github.com/ohadlevy/puppet-multipuppetmaster/blob/master/templates/puppetmaster-vhost.confshould > work. > > Ohad > > On Tue, Mar 30, 2010 at 1:46 PM, Smain Kahlouch wrote: >

[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

Re: [Puppet Users] Templates : about puppet syntax

2010-03-22 Thread Smain Kahlouch
asses, however, are coming soon and would do what you want. For now I'd just use a variable. --Michael On Mon, Mar 22, 2010 at 3:33 PM, Smain Kahlouch wrote: Hi, I just have a question about puppet syntax. I would like to give a parameter to my l

[Puppet Users] Templates : about puppet syntax

2010-03-22 Thread Smain Kahlouch
Hi, I just have a question about puppet syntax. I would like to give a parameter to my ldap module. In the node definition i would like to specify the domain. Example : ldapnode { include ldap::master::domain("domain.tld") } And in the manifest : define ldap::master::domain() {...} but i don't

[Puppet Users] Choosing the web server

2010-03-15 Thread Smain Kahlouch
Hi everybody, I just want to know what is the best web server between passenger and mongrel. I don't understand what are the benefits of each solution. Do you have a part of the answer please? Regards. Grifith -- You received this message because you are subscribed to the Google Groups "Puppe

[Puppet Users] Possible variables to use with templates

2010-03-11 Thread Smain Kahlouch
Hi everyone, I guess the question has been asked a million times. I'm a beginner in puppet and i would like to know where i can find a list of possible variables to use the templates. Thanks for your help, Grifith -- You received this message because you are subscribed to the Google Groups "Pu