Forum: Cfengine Help
Subject: Re: Are case-insensitive classes possible?
Author: zzamboni
Link to topic: https://cfengine.com/forum/read.php?3,19067,19070#msg-19070

I agree, Seva. Looking at the code (3.1.0b2), it seems the hostname is not 
being lowercased, although curiously the domain name is. From src/sysinfo.c:

   snprintf(VFQNAME,CF_BUFSIZE,"%s.%s",VSYSNAME.nodename,ToLowerStr(VDOMAIN));
   NewClass(VFQNAME);
   strcpy(VUQNAME,VSYSNAME.nodename);
   NewClass(VUQNAME);

VFQNAME is the value of sys.fqhost, and VUQNAME is the value of sys.hostname.

_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to