cfengine-develop
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Cfengine-develop] Re: Homework


From: Mark . Burgess
Subject: Re: [Cfengine-develop] Re: Homework
Date: Tue, 4 Mar 2003 22:41:04 +0100 (MET)


On  4 Mar, Chris (Ducky) Chapin wrote:
> 
> 
> On Tue, 4 Mar 2003, Luke A. Kanies wrote:
> 
>> # this would be a list...
>> processes = ( $sshd )
>> 
>> links:
>>   each(@processes) {
>>     /etc/init.d/$_{pattern} -> /etc/rc$_{runlevel}.d/S$_{runpriority}
>>   }
>> 
>> processes:
>>   each(@processes) {
>>     $_{pattern} restart=$_{restart} useshell=$_{useshell}
>>   }
>> 


There is a delicate balance to be found between making things
explicit and hiding ugly imperatives. It requires some creativity.
Implicit expansion, such as we have now in cfengine has advantages
and disadvantages .. sigh. These are the decisions that are the
hardest. Again, we could use examples where the current method
is inadequate, and examples of what would be better.

M

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  address@hidden
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~






reply via email to

[Prev in Thread] Current Thread [Next in Thread]