Re: cfengine3 questions and suggestion

2010-06-07 Thread Bas van der Vlies
On 07-06-10 16:57, Bas van der Vlies wrote: >>> I am using cfengine community edition 3.0.4 and i get this error/warning. >>> But the class can not be true, because the environent variable is set. >>> {{{ >>> !! Redefinition of a constant variable "CLUSTER" >>> Promise (version 1.0.1) belongs t

Re: cfengine3 questions and suggestion

2010-06-04 Thread Mark Burgess
The details are definitely in the manual, (see also the special topics guides), but the problem is of course that we have too much documentation so it is hard to see the wood for trees. Bas van der Vlies wrote: > On 04-06-10 07:41, Mark Burgess wrote: >>> I am trying to switch from cfengine2 to

Re: cfengine3 questions and suggestion

2010-06-04 Thread Bas van der Vlies
On 04-06-10 07:41, Mark Burgess wrote: >> I am trying to switch from cfengine2 to cfengine3. We make use of the >> PrepModule to set some useful GLOBAL classes with the aid of a script. Just >> print/echo + to stdout. Can this be accomplished with cfengine3. > > There is a use-module function, but

Re: cfengine3 questions and suggestion

2010-06-03 Thread Mark Burgess
Hi Bas, Bas van der Vlies wrote: > First lets start with a suggestion. there a lot function that return a > class, mabye a new function: >- LISA_CLUSTER expression => getenv_class("LISA"); > > Which set the class LISA_CLUSTER if the variable is defined. We now use > getenv and strcmp to do