This might have been fixed today in svn.

Lebel, Marco wrote:
> Hello all,
> 
>  
> 
> Is there a reason why we can use vars in classes definition
> 
>  
> 
> Like:
> 
>  
> 
> "$(user_names)_must_modified" expression =>
> "!$(user_names)_comment_equal|!$(user_names)_homedir_equal|!$(user_names)_shell_equal|!$(user_names)_Gid_equal”;
> 
>  
> 
> But cannot do the same thing with array variables
> 
>  
> 
> Like:
> 
>   "create_$(r_user[$(r_range)][$(username)])"         expression =>
> "!$(r_user[$(r_range)][$(username)])_exist.!$(r_user[$(r_range)][$(username)])_uid_exist.$(r_user[$(r_range)][$(trgt)])"
> 
>  
> 
>  
> 
> I understand that the allowable characters for an expression does not
> include the “[“ or “]” but it is a bit odd that the array are left out
> when the vars are not
> 
>  
> 
>  
> 
> My two cents,
> 
>  
> 
> Marco
> 
>  
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@cfengine.org
> https://cfengine.org/mailman/listinfo/help-cfengine

-- 
Mark Burgess

-------------------------------------------------
Professor of Network and System Administration
Oslo University College, Norway

Personal Web: http://www.iu.hio.no/~mark
Office Telf : +47 22453272
-------------------------------------------------
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to