Forum: Cfengine Help
Subject: Re: I'm exploiting usemodule. There has got to be a better way to 
define global classes?
Author: matter
Link to topic: https://cfengine.com/forum/read.php?3,18623,18690#msg-18690

I want to get more granular than just testing an
environment.  I also don't want to maintain
multiple branches / tags of the SVN tree, because
each branch would require its own SVN merge.

We should be able to keep a unified view of a
single SVN branch, and still have the flexibility
of picking individual hosts to test against.

I understand that you would like to pick different hosts and different time for 
you DEV, however, it seems your configuration is getting more and more 
complicated. Perhaps looks at it from a different angle 

You wouldn't need to merge the tree, just tag the revision you want as STG. 

Example:

test.cf 1.4 (tagged both to DEV and STG).
Make a change to test.cf, now version 1.5
tag version 1.5 as DEV. STG is still 1.4.

export SVN tree to two different paths (eg DEV/inputs and STG/inputs).

DEV tree has test.cf 1.5
STG tree has test.cf 1.4

Same SVN tree, no branches, just different revision versions (which you will 
have anyway).

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to