Variables in array items

This code gets improperly linted

file { [
    "${root_dir}/index.txt",
    "${root_dir}/index.txt.attr"
  ]:
    ensure => file,
    owner => 0,
    group => 0,
    mode => '0400',
}

Linter tries to put newlines on either side of the 'root_dir' strings; after and before the curlies.

This is probably because curly brackets are their own Puppet token, so the linter thinks it should be a "separate" item in the list.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information