[Puppet Users] split config by $lsbdistid

2008-10-07 Thread Vincent Louviaux
Hello Is it possible to split config files by distributions ? the goal is to define the same class but different by os distribution and not always define a case in all config files like class ntp { case "$lsbdistid $lsbdistcodename" { "Ubuntu hardy": { .. So I would like something like : i

[Puppet Users] many environments with one puppetmasterd

2008-10-23 Thread Vincent Louviaux
Hello What is the best practice to have a testing and a production environment on the same pupetmasterd ? Must I defined in each class a test with an env variable ? Vincent --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Gr

[Puppet Users] ssl configuration for nginx

2008-10-24 Thread Vincent Louviaux
Hello, I am trying to configure nginx as documented here http://reductivelabs.com/trac/puppet/wiki/UsingMongrelNginx I don't realy know which file must be paased to this values : ssl_certificate ssl_certificate_key ssl_client_certificate When I try with ssl_certificate /var

[Puppet Users] Re: RHEL4 = Use "yum"

2008-10-30 Thread Vincent Louviaux
example : class puppet { case "$lsbdistid $lsbdistrelease" { "RedHatEnterpriseES 4": { package { puppet: provider => yum, ensure => latest; ... On Wed, Oct 29, 2008 at 4:04 PM, Tiago Cruz <[EMAIL PROTECTED]>wrote: > Hey Aj, > > Thanks... but where I need put this? On Server? O

[Puppet Users] regular expression in manifest

2008-11-03 Thread Vincent Louviaux
How can I use regular expression in manifests ? Something like this : if "$productname" =~ /ProLiant/ { } --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to pu

[Puppet Users] server-based filebucket

2008-11-28 Thread Vincent Louviaux
I am trying the server-based filebucket. How can I know from which node the backup file is coming ? Vincent --~--~-~--~~~---~--~~ 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] Re: RPM for 0.24.6?

2008-12-02 Thread Vincent Louviaux
You can use the spec file from David Lutterkort to create the rpm http://people.redhat.com/dlutter/yum/spec/puppet.spec Change the ligne begins "Version" and rpmbuild -bb Vincent On Tue, Dec 2, 2008 at 1:41 PM, Trevor Vaughan <[EMAIL PROTECTED]>wrote: > > Has an RPM for 0.24.6 been published

[Puppet Users] Re: Puppet version 0.24.7 released!

2008-12-16 Thread Vincent Louviaux
ment/Base > On Tue, Dec 16, 2008 at 12:36 PM, James Turnbull wrote: > Vincent Louviaux wrote: > > Thanks ! > > > > is the spec file can be updated too ? > > I usually leave that to the packagers. We only include the spec file as > a convenience - we expect down

[Puppet Users] Re: Puppet version 0.24.7 released!

2008-12-16 Thread Vincent Louviaux
Thanks ! is the spec file can be updated too ? # head /tmp/puppet-0.24.7/conf/redhat/puppet.spec %{!?ruby_sitelibdir: %define ruby_sitelibdir %(ruby -rrbconfig -e 'puts Config::CONFIG["sitelibdir"]')} %define confdir conf/redhat Name: puppet Version:*0.24.6* Release:1%

[Puppet Users] service top parameter seems to be ignored

2009-02-25 Thread Vincent Louviaux
Hello, I am trying to disable a process , but the stop parameter seems to be ignored from the output of puppetd -tv : .. err: /:main/sastools/Service[cfexecd]/ensure: change from running to stopped failed: Execution of '*/sbin/service cfexecd stop*' returned 1: cfexecd: unrecognized service .. fr

[Puppet Users] Re: service top parameter seems to be ignored

2009-02-25 Thread Vincent Louviaux
' and then specify > everything manually. > > Trevor > > On Wed, Feb 25, 2009 at 06:52, Vincent Louviaux > wrote: > > Hello, > > > > I am trying to disable a process , but the stop parameter seems to be > > ignored > > from the output of puppetd -t

[Puppet Users] Re: service top parameter seems to be ignored

2009-02-25 Thread Vincent Louviaux
the asterisks was comming because I have write in html and put theses line on bold :( Vincent On Wed, Feb 25, 2009 at 1:03 PM, Bruce Richardson wrote: > > On Wed, Feb 25, 2009 at 12:52:29PM +0100, Vincent Louviaux wrote: > > Hello, > > > > I am trying to disable

[Puppet Users] Re: looking for puppet on redhat el 3

2009-04-01 Thread Vincent Louviaux
That's the problem with this package : # rpm -Uhv augeas-0.2.2-1.el3.rf.i386.rpm warning: augeas-0.2.2-1.el3.rf.i386.rpm: V3 DSA signature: NOKEY, key ID 6b8d79e6 error: Failed dependencies: augeas-libs = 0.2.2-1.el3.rf is needed by augeas-0.2.2-1.el3.rf Thanks for your help Vincent On

[Puppet Users] Re: looking for puppet on redhat el 3

2009-04-02 Thread Vincent Louviaux
: user puppet does not exist - using root warning: user puppet does not exist - using root warning: user puppet does not exist - using root On Thu, Apr 2, 2009 at 10:23 AM, Vincent Louviaux wrote: > it s compiled when removed the libselinux dependency > > Do you have a spec file for ru

[Puppet Users] Re: looking for puppet on redhat el 3

2009-04-02 Thread Vincent Louviaux
there are two useradd in the redhat spec file, So I removed one Can you adapt the redhat spec : 159d158 < useradd -r -g puppet -d %{_localstatedir}/lib/puppet -s /sbin/nologin \ Now the last puppet run on my rhel3 :-) Vincent On Thu, Apr 2, 2009 at 10:29 AM, Vincent Louviaux wrote: &

[Puppet Users] error : Could not store configs: undefined method `environment=' for #

2009-05-28 Thread Vincent Louviaux
Hello I have restart puppetmasterd with dbmigrate but I still have the error : Could not store configs May 28 14:37:18 puppetmasterd[19150]: Migrating May 28 14:37:19 puppetmasterd[19150]: Could not store configs: undefined method `environment=' for # May 28 14:37:19 puppetmasterd[19150]: Com

[Puppet Users] Re: error : Could not store configs: undefined method `environment=' for #

2009-05-28 Thread Vincent Louviaux
I have recreate the DB .. now it solved Vincent On Thu, May 28, 2009 at 2:45 PM, Vincent Louviaux wrote: > Hello > > I have restart puppetmasterd with dbmigrate > but I still have the error : Could not store configs > > > May 28 14:37:18 puppetmasterd[19150]: Migrat

[Puppet Users] puppetd doing noting as daemon

2009-05-29 Thread Vincent Louviaux
Hi, I have a lot of systems where the puppetd doesn't do anything .. When I test with puppetd -tv, it s running well, but when it is started as deamon th process do nothing :( How can I debug this ? Vincent May 29 10:07:56 puppetd[6160]: Reopening log files May 29 10:07:56 puppetd[6160]: Start

[Puppet Users] Re: puppetd doing noting as daemon

2009-05-29 Thread Vincent Louviaux
it s 1.5.4 coming from epel depots .. I will try the 1.5.5 but I think there are no rpm available at this time, I must compile .. Thanks for your help Vincent On Fri, May 29, 2009 at 10:32 AM, Avi Miller wrote: > > Hi, > > Vincent Louviaux wrote: > > I have a lot of

[Puppet Users] Re: puppetd doing noting as daemon

2009-05-29 Thread Vincent Louviaux
I have try with the 1.5.2-1.el4 and it s working :-) So yes this is coming from facter 1.5.4 Thanks Vincent On Fri, May 29, 2009 at 10:40 AM, Vincent Louviaux wrote: > it s 1.5.4 coming from epel depots .. > > I will try the 1.5.5 but I think there are no rpm available at this time,