[Puppet Users] Re: Puppet environment + fileserver

2010-04-03 Thread Ken
Both of your statements are true ... however its a good thing to get into the rhythm of using modules as its more effort to convert later on when you do want to benefit from modularisation. Its also only a small initial cost to be honest so I think its worth it. ken. On Apr 2, 3:26 pm, Serge Dewa

Re: [Puppet Users] Re: Puppet environment + fileserver

2010-04-02 Thread Serge Dewailly
I though module were used when having multiple files to a single service, or when wanting a stand-alone configuration (to make it portable). Anyway, I think I will use your solution since it will respect my needs... lots of changes to make ! :) Thanks again for your help. Serge. Le 02/04/10

Re: [Puppet Users] Re: Puppet environment + fileserver

2010-04-02 Thread Nigel Kersten
On Fri, Apr 2, 2010 at 6:58 AM, Serge Dewailly wrote: > No I don't need different access level, but it makes strange configuration > if in a class (say /etc/puppet/production/manifest/test.pp) I use something > like that : > > file{"/tmp/foo": >      source => "puppet:///modules/" > } > > Is it a

Re: [Puppet Users] Re: Puppet environment + fileserver

2010-04-02 Thread Serge Dewailly
No I don't need different access level, but it makes strange configuration if in a class (say /etc/puppet/production/manifest/test.pp) I use something like that : file{"/tmp/foo": source => "puppet:///modules/" } Is it a good idea to acces file from modules dir within a class (a class n

Re: [Puppet Users] Re: Puppet environment + fileserver

2010-04-02 Thread Nigel Kersten
On Fri, Apr 2, 2010 at 6:53 AM, Ohad Levy wrote: > Hi, > Maybe I'm missing something here, but why not just store the files in the > modules? do you need to provide different access level to your modules based > on environments? Can't you do this anyway in auth.conf even for files in modules with

Re: [Puppet Users] Re: Puppet environment + fileserver

2010-04-02 Thread Ohad Levy
Hi, Maybe I'm missing something here, but why not just store the files in the modules? do you need to provide different access level to your modules based on environments? Ohad On Fri, Apr 2, 2010 at 9:37 PM, Serge Dewailly wrote: > Hi, > > Thanks for your response. I forgot to mention Puppet

Re: [Puppet Users] Re: Puppet environment + fileserver

2010-04-02 Thread Serge Dewailly
Hi, Thanks for your response. I forgot to mention Puppet version in use, sorry about that. I'm using version 0.25.1. Thanks for your approach about storing files in modules path. I will try to work around with that. In a ideal world, I would keep my two environments in completly separate dire

[Puppet Users] Re: Puppet environment + fileserver

2010-04-01 Thread Ken
What revision of puppet are you running? This doesn't work for me in 0.25.4 either. However ... I'm going to take a wild guess and imagine you want to have 3 fileserver.conf files because of the need for differing 'path' items per environment using the [files] block. Let me suggest an alternative