Forum: Cfengine Help Subject: Re: Bundling the configuration into modules Author: kenneho Link to topic: https://cfengine.com/forum/read.php?3,20949,20992#msg-20992
Well, I basically just need some information on best practices regarding configuration code structure as the code grow in size and complexity. One way to do accomplish this is to divide the code into logical chunks, based on for example services. The issue I'm having at the moment is that for example all .cf files are placed in one directory, and all regular files to be distributed are placed in another. Example: If I have fileA.txt that belongs to service X, and another fileA.txt beloning til service B, it is not clear which service that file belongs to. Similar problems if I have setup.cf file for both services. Of course I could choose to create a folder "serviceA", and put serviceA related files in there and so on, but I'm interested in how others handle these issues. - Kenneth _______________________________________________ Help-cfengine mailing list Help-cfengine@cfengine.org https://cfengine.org/mailman/listinfo/help-cfengine