Everything is usually coverted to lower case for comparison since DNS
does not distinguish case in hostnames. This should also be the
behaviour in HostRange. Patches welcomed :-)

M

[EMAIL PROTECTED] wrote:
>  > > I'm running cfengine 2.1.22 using HostRange with both lowercase and
>  > > uppercase ranges.
>  > > 
>  > > Its seams that the uppercase range is not included to the desirable
>  > > class.
>  > > 
>  > > An example of a mixed HostRange:
>  > > 
>  > >             Desktops = ( HostRange(bambi,1-10) HostRange(FLIPPER,1-20) )
>  > > 
>  > > Machines with a starting name of FLIPPER will not be included in
>  > > Desktops class.
>  > > 
>  > > A bug maybe? 
>  
>  > Intentional behaviour as far as I can tell - hostnames are prety much 
>  > always going to be lowercased. 
> 
> Hostnames are lowercased in GetNameInfo() for sure.
> 
> Perhaps Mark has an irrational fear of upper case or some such?
> 
> No, seriously, I don't know why it's done, but I trust/assume
> there's some reasonable logic behind it.
> 
> steve
> - - -
> 
> _______________________________________________
> Bug-cfengine mailing list
> [email protected]
> https://cfengine.org/mailman/listinfo/bug-cfengine

-- 
Mark Burgess

Professor of Network and System Administration
Oslo University College

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Work: +47 22453272            Email:  [EMAIL PROTECTED]
Fax : +47 22453205            WWW  :  http://www.iu.hio.no/~mark
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
_______________________________________________
Bug-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/bug-cfengine

Reply via email to