On 12/14/2011 07:58 AM, Ted Zlatanov wrote:
> 1) allow passing body parameters as JSON, not just positional
> parameters.  Take the standard file permissions promise:
> 
>       "$(crond)/cfrun"
>       perms => mo("644","root");
> 
> it instead becomes:
> 
>       "$(crond)/cfrun"
>       perms => "{ mode: 644, owners: ['root'] }";

I think that is infinitely more readable.



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

Reply via email to