Forum: Cfengine Help
Subject: Re: question on bundle sequence vs. ifelapsed
Author: bglomm
Link to topic: https://cfengine.com/forum/read.php?3,19154,19193#msg-19193

Thnx Neil!

hm, and there are no technical reasons like "more than 10 promises on the same 
file and it stumbles!" ?

In our setup here I will manage about 20 max 30 server, most of them 
virtualized and for the next time running more or less standard services. Still 
they needed contious management and monitoring
revoking accounts, resetting passwords, adjusting the desired threshold values 
of nagios etc.

Using "fai" I can install any software profile, using cfengine I can configure 
the "zoo".
The fai part tells us what packages will be initial installed.
The cfengine scripts (in my approach) tells us ALL about the configuration.
And once one is familiar with the concept... come on it IS quite easy to read...
look at my example above... I mean... one can read it from the top to the 
bottom and knowing
EVERYTHING... no need to look in other directorys, into other files ...

The next admin could just print out the handfull of cfengine files and read 
them over the weekend... Than he should know ;-)
Using comments for explanation WHY I do (what) would help understand the 
conceptual intention.
The rest is just regex. Isn't it.

I was so enthusiastic ;-) about having ALL the configuration in a small bunch 
of plain text files in one directory with a clear sequence how to read them...

But if the setup gets much bigger (several hundreds of, even very different, 
nodes) I see that the
template approach you describe above would save a lot of code (and nervs ;-).

So, once again... is there a technical reason to not use multiple promises like 
I do in the example above or is it more a question of "style"???

(After that I _promise_ to close this discussion on style ;-))

TIA

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

Reply via email to