[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Mark . Burgess
Fri, 16 Mar 2001 17:38:14 +0100 (MET)
On 16 Mar, Bautista, Teresita wrote:
> Hi Mark,
> Thank you so much for the e-mail.
> However, what does it exactly mean when you say "Declarative Configuration
> Another is that to my understanding, adopting cfengine and implementing this
> means writing scripts. However, from the website it say it is higher level
> than scripts. They seems contradicting.
> Please enlighten me.
> Once again, thank you for your advice and time :)
> Kind regards,
> -----Original Message-----
> From: address@hidden [mailto:address@hidden
> Sent: 16 March 2001 16:28
> To: address@hidden
> Cc: address@hidden
> Subject: Re:
> On 16 Mar, Bautista, Teresita wrote:
>> I am very new with cfengine and would be grateful if someone can advice me
>> on my questions.
>> Somewhere in the documentation says that cfengine is a high level
>> higher than perl or scripts. If so, is cfengine another programming
>> language of its own right?
>> Please help :(
>> thanks in advance.
>> Kind regards,
> Cfengine is not a programming language, but a declarative
> configuration language. That means that it can only be used
> for a limited purpose. It is not a general programming language.
> Work: +47 22453272 Email: address@hidden
> Fax : +47 22453205 WWW : http://www.iu.hio.no/~mark
Normal languages are procedural. That means that they follow logical
sequences or prcoedures as a stream of thought. The sequence has to
lead from the start to the finish and every step must be described.
Declarative languages are descriptive. Instead of specifying steps,
you write a description of what you would like to see. Then this is
interpreted by an agent and the details of how it happens are hidden.
CFengine provides a language for describing how you would like
systems to be configured. Cfengine then interprets this and doesn
the job. This allows you to think about policy, rather than fiddly
you still write "scripts", if you want to call them that, but they
are more like descriptions than procedures,
hope this helps,
Work: +47 22453272 Email: address@hidden
Fax : +47 22453205 WWW : http://www.iu.hio.no/~mark
|[Prev in Thread]
||[Next in Thread]|