On 03/15/2012 02:11 PM, no-re...@cfengine.com wrote:
> Forum: CFEngine Help
> Subject: Re: CFEngine Help: Bundle meta data
> Author: mark
> Link to topic: https://cfengine.com/forum/read.php?3,25271,25283#msg-25283
> 
> Yes, Eystein,
> 
> I see that this is possble. Not sure whether it is a step forwards or 
> backwards though, 
> 
> The value => association is really just a variable substitution, so why not 
> use a variable and then you will have access to its value for testing in 
> class expressions, etc,  abort class if version number is too small...etc. 
> Also, the value would then be automatically placed in the right context of 
> the variables report.
> 
> Then "meta" is just an alias for "vars", i.e. a best practice. It might be 
> aesthetically desirable.

That seems like a simple solution, but will that alias be cause for
confusion?

While metadata may be just a subset of variables if it were an alias
that would mean that all variables are metadata and all metadata are
variables.


-- 
Nick Anderson <n...@cmdln.org>
_______________________________________________
Help-cfengine mailing list
Help-cfengine@cfengine.org
https://cfengine.org/mailman/listinfo/help-cfengine

Reply via email to