On 14/12/2011 15:25, Nick Anderson wrote:
> 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.
>
>
I think I've just fallen in love with this notation
Nicolas CHARLES
Normation SAS - http://www.normation.com
87 rue de Turbigo - 75003 Paris
+33 (0)1 83 62 26 96 - +33 (0)6 14 63 25 18
_______________________________________________
Help-cfengine mailing list
[email protected]
https://cfengine.org/mailman/listinfo/help-cfengine