bug-cfengine
[Top][All Lists]
Advanced

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

Re: Bug in resolve?


From: Tim Nelson
Subject: Re: Bug in resolve?
Date: Wed, 20 Apr 2005 12:59:01 +1000 (EST)

On Mon, 18 Apr 2005, Pip Oomen wrote:

Is the following a known issue? Or is there something wrong in my
configuration?

No, this is a new bug :). Mark, is there a way colons can be embedded in in strings? If not, can we have one of those special variable things that does this?

Pip, try escaping the colon with a backslash. I don't think it'll work, but it's worth a go.

        :)

Linux 2.6.8-2-686 #1 Mon Jan 24 03:58:38 EST 2005 i686 GNU/Linux
GNU cfengine 2.1.13

Input file:
---
control:
 EmptyResolvConf  = ( true )
 actionsequence = ( resolve )
 domain = ( mediehuset.gan.no )

resolve:
 172.16.16.19    # local nameserver
 172.16.16.254   # backup nameserver
 "search $(domain) gan.no services.gan.no"
 "options timeout:1"
---

Expected result:
---
domain mediehuset.gan.no
nameserver 172.16.16.19
nameserver 172.16.16.254
search mediehuset.gan.no gan.no services.gan.no
options timeout:1
---

Actual result:
---
domain mediehuset.gan.no
nameserver 172.16.16.19
nameserver 172.16.16.254
search mediehuset.gan.no gan.no services.gan.no
options timeout
nameserver 1
---

Relevant debug output:
---
DEFINED NAMESERVERS

1 (any)
options timeout (any)
search mediehuset.gan.no gan.no services.gan.no (any)
172.16.16.254 (any)
172.16.16.19 (any)
---

Mvh,

Pip Oomen.



_______________________________________________
Bug-cfengine mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/bug-cfengine


--
Tim Nelson
Server Administrator
WebAlive Technologies Global
Level 1 Innovation Building, Digital Harbour
1010 LaTrobe Street
Docklands, Melbourne, Vic, 3008
Phone: +61 3 9934 0812
Fax: +61 3 9934 0899
E-mail: address@hidden
http://www.webalive.biz/

"Your Business, Your Web, Your Control"




reply via email to

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