We're a subversion shop, so we're using subversion for this type of
thing (although I'd like to try out Git). We've created a few simple
scripts for tagging modules and such, so I belive we have a neat
solution to version control of our code.

But structuring the code itself (as was the original topic for this
thread) is of course equally important. We have multiple projects each
consisting of multiple server types/roles and environments (dev, test,
qass, prod), and need our clients and services areas to reflect this
in a dynamic and structured way. Having a base/generic class  like
Christian proposed is the way to go, but I would like to hear from
others how they have organized the clients and services areas.


- Kenneth

On Tue, Aug 3, 2010 at 7:37 AM, Jeff McCune <[email protected]> wrote:
> On Mon, Aug 2, 2010 at 4:50 AM, Kenneth Holter <[email protected]> wrote:
>>
>> Let me briefly mention that we're going to use external nodes to tell
>> which environment (prod, qass, ...) a node belongs to, and use the
>> build in puppet enironments to separate code between the environments
>> (production clients will pull modules from a different module area
>> than clients in for example qass, and so forth).
>
> The organization of using environments in puppet with module paths
> referencing multiple, different working copies of the same version
> control repository checked out to different branches works quite well
> for many people.
>
> Git is particularly good in this case since it's designed to quickly
> switch the working copy among branches quickly and easily.  Doing so
> in git doesn't result in a different filesystem path which is
> convenient when setting the modulepath in each environment.
>
> --
> Jeff McCune
> http://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 [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/puppet-users?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to