According to the puppet [documentation](https://docs.puppet.com/puppet/latest/reference/lang_data_string.html#interpolation) any kind of expression can be used inside a string interpolation. However accessing an array breaks highlighting, see [here](http://imgur.com/a/8iC5b).
According to the puppet documentation any kind of expression can be used inside a string interpolation.
However accessing an array breaks highlighting, see here.