title: Can you hash an array in a yaml file with Hiera
body: <p>I'm trying to use puppet to create a mysql user with a set of privileges using the puppetlabs-mysql module</p>
  
  <p>My yaml looks like this:</p>
  
  <pre><code>  mysqlgrants:
    testuser@%{::ipaddress}/*.*  :  
      ensure    : 'present'
      options   : ['GRANT']
      privileges: ['SELECT','INSERT','UPDATE','DELETE']
      table     : '*.*'
      user      : "testuser@%{::ipaddress}" 
  </code></pre>
  
  <p>I am then using the hiera_hash function to operate on mysqlgrants. This errors when the privileges value is an array, but is fine when the privileges value is just a single value e.g. ['ALL']. Does anyone know why?</p>
  
  <p>Thanks,
  Jason</p>