bug-cfengine
[Top][All Lists]
Advanced

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

Re: UnderscoreClasses macro really broken


From: Mark . Burgess
Subject: Re: UnderscoreClasses macro really broken
Date: Wed, 18 Oct 2000 16:03:46 +0200 (MET DST)

On 19 Sep, Andrews, Martin wrote:
> Just a warning - using the UnderscoreClasses = ( on ) directive has a nasty
> side effect. It removes all classes containing the characters of the current
> machines hard class. I ran into this on a "nt" machine, and it took me a
> while to figure out while my class "opt_just_print" was not showing up.
>  
> Even using the -U option (which does not delete classes) only adds an
> underscore to the OS hard class. I think it should (and documentation
> agrees?) add underscores to all built-in classes, like the date and time
> classes, host and domain classe, and so on.
>  
> Martin
> 
> ---
> Martin Andrews
> address@hidden 
> 
>  


I think this would make an unnecessary mess. It is *extremely*
unlikely that anyone would call a host sunos_sun4u_5_7_Generic.
I think it's better to clarify in the documentation...

Mark

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





reply via email to

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