Hi Neil,

> The left hand quoted string has not purpose at this time.  We often use for 
> information.  Are you looking to pass  strings to your bundle?  You do that 
> on the right side:
> 
> "any" usebundle => mybundle("string", "$(var)");

Sure, I understand parameters go on the right side.

What I'm saying is… There is a standard form of expressing promises. We say 
things like:
        "myvariable" string => …
        "/my/file" copy_from => …
We express the thing that we want to target first, and then we express what we 
want to do with it second.

I think called bundles should be able to do the same thing. All the examples I 
see just put garbage "any" values on the left. Why not use it the way that 
other kinds of promises do?

-- 
Tod Oace, Intel Corporation <t...@intel.com>

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

Reply via email to