help-cfengine
[Top][All Lists]
Advanced

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

Re: dealing with multiple domains


From: Mark . Burgess
Subject: Re: dealing with multiple domains
Date: Tue, 11 Feb 2003 05:22:01 +0100 (MET)



>   second, it also seems that nested macros aren't allowed, so that's why
> your "domain = ( ${tmpdomain} )" doesn't work.  my first thought was to
> use a module to re-define domain based on a small shell script which looks
> in /etc/resolv.conf, but the next roadblock is that the domain macro is a
> global variable internally, which apparently can only be changed by
> "domain = ( )" in the control: section.

Nested macros are allowed if quoted.

CFengine usually sets the contents /etc/resolv.conf, so 
this would be circucal - how would a module help here?


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






reply via email to

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