On Thu, May 19, 2011 at 6:07 AM, Nick Anderson <n...@cmdln.org> wrote:
> 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".

Thank you, I understand.



> 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.

Yeah.  I am teaching a Cfengine class now, and the client asked,
we have multiple sites, and we want to be able to include files (using inputs)
based on classes.

They want to have separate files for separate sites, i.e. an italy.cf for
Italy, germany.cf for Germany, etc.   More on this in a separate thread.


> 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.

Yes, being able to abstract bundles with methods is a great help.
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to