Forum: CFEngine Help
Subject: Re: How to workaround illegal variable names (dots in indices)?
Author: FraserCampbell
Link to topic: https://cfengine.com/forum/read.php?3,27050,27055#msg-27055

nickanderson Wrote:
-------------------------------------------------------
> I think you will need to at lease separate the
> parts of the policy with conflicting syntax. You
> could use dynamic inputs to include certain files
> based on CFEngine version.

Makes sense, but proving trickier than I thought - I'm using methods rather 
than bundlesequence for most new work.

So I guess I will need to revert to adding the problem bundle back into the 
bundlesequence for complete workaround - define 2 bundlesequences and 2 inputs 
depending on cfengine_3_1 class (or lack thereof).

I guess I can also workaround by avoiding the hash style variables for cases 
like this until we can eliminate 3.1 clients - revert to 2 lists (a list of 
keys and list of values).

I'll mull it over for a while.

Thanks,
Fraser

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

Reply via email to