cfengine/core — pull request #2040 by tzz (2014-11-22 21:53:56+00:00)
Title: mustache: allow iterating over a key-value hash with {{@}} for the key and {{.}} for the value

Mustache template improvement:

* allows iterating over a hash, not just a list
* the value is `{{.}}` just like with lists
* the key is `{{@}}` but could be something else...
* when iterating over lists, the key behavior is undefined but currently is same as the value
* acceptance test included