I ended up coming up with a way to reproduce it without hieradata:

init.pp

class foo(Hash[String, Struct[{
  x => Array[Integer],
  y => Array[String]}]] $arg
)
{
  notify{"$arg":}
}

class test
{
  class
  {
   'foo':
   arg => {propertya => {propertya_1 => [1, 2], propertya_2 => ["foo"]}}
  }
}


The error I get is:



*"Evaluation Error: Error while evaluating a Resource Statement, Class[Foo] 
: parameter 'arg' expects a Hash value, got Struct"*Hopefully that helps!

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/puppet-users/acb9a227-2581-4b9d-8904-d65d882734ec%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to