Re: [Puppet Users] Recursive directory management

2011-07-08 Thread romuald FREBAULT
thank you very much, i'm gonna try this and tell you 2011/7/7 Nan Liu n...@puppetlabs.com On Thu, Jul 7, 2011 at 9:43 AM, romuald FREBAULT kurgan...@gmail.com wrote: Hi, We decide to manage all our specific crons for applications with puppet. As all people who creates crons does'nt

Re: [Puppet Users] Puppet agent problem on Ubuntu

2011-06-24 Thread romuald FREBAULT
did you tried sudo pupetd --server=myserver --test it will run puppet onetime as root and verbosely... 2011/6/21 John Nicholson vilvic.j...@gmail.com I'm in the process of setting up puppet and experiencing some issues. I'm running Ubuntu 11.04 desktop and server in two seperate VM's. I've

Re: [Puppet Users] Adding LDAP users to system group

2011-06-20 Thread romuald FREBAULT
hi, i'm maybe misunderstanding your quetiosn but for me there's 2 ways doing thaht: first with exec exec {add_user_to_group: command = usermod -G mysql $user, unless = getent group mysql | grep $user } this will add mysql as secondary group for $user or user {$user:

Re: [Puppet Users] array in template

2011-06-19 Thread romuald FREBAULT
online language learning community On Wed, Jun 15, 2011 at 5:35 AM, romuald FREBAULT kurgan...@gmail.comwrote: thanks for your answer, i finally wrote % if architecture == i386 % stuff %else% stuff %end% 2011/6/14 Ken Barber k...@puppetlabs.com Try: % if [x86_64,amd64].include

Re: [Puppet Users] array in template

2011-06-15 Thread romuald FREBAULT
thanks for your answer, i finally wrote % if architecture == i386 % stuff %else% stuff %end% 2011/6/14 Ken Barber k...@puppetlabs.com Try: % if [x86_64,amd64].include?(architecture) % ... do stuff ... % end % ken. On Tue, Jun 14, 2011 at 11:30 AM, romuald FREBAULT kurgan...@gmail.com

[Puppet Users] array in template

2011-06-14 Thread romuald FREBAULT
Hi, I have a recipe that deploy a nrpe_local.cfg. In my template, i want to deploy diffrent lines between 32 and 64 bits. We have hosts uder redhat and debian,. When i write % if architecture == i386 -% no problem, the lines are well deployed on redhat and debian, but for the 64 bits, redhat