I think the last syntax is the nicest tbh, but there could be a point in staying in sync with puppet on this. That syntax could of course be added to puppet as well though.

I think it is a separate issue though from this patch, but would be nice to get fixed in the same version this is released in.