On Thu, 2011-05-19 at 14:37 +0200, no-re...@cfengine.com wrote:
> Forum: Cfengine Help
> Subject: Re: where to put local promises? site.cf?
> Author: neilhwatson
> Link to topic: https://cfengine.com/forum/read.php?3,21932,22062#msg-22062
> 
> Organize the files anyway you like Aleksey.  As long as CF can find 
> everything by reading promises.cf first.

Aleksey, are you looking for the "standard" way to organize promises, or
some well defined patterns of organization.

There was a thread on this not long ago where a suggestion or two came
up.

https://cfengine.com/forum/read.php?3,21622,21622

I think since cfengine is just a framework the standard is "it doesn't
matter".

I think that a few well defined patterns for organization of promises
would be of great help. For example organizing promises by application,
business service, or site seem to be a few common ways that might make
sense depending on the size or complexity of your environment.

For example in one of my environments I have multiple services that are
customer facing and unique to each customer, I consider each of those a
"business service" mostly because when there is a problem people refer
to the service as a whole or as a subset of the customer. But if you
were doing HPC where you have a bunch of nodes that are all the same it
might make more sense to organize your configuration files by
application like pbs, torque, sge, etc ... And where you have only a
very small environment things organized by host might make the most
sense.

One thing I find slightly annoying is not being able to use globs for
inputs. I realize its a trade-off but to me it seems when you get to a
certain number of promise files having each one listed independently
could be obnoxious. Bundle sequence on the other hand you can build your
flow with use methods and then only show the important information.


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

Reply via email to