Thanks Henrik. That was a flawed example. And as a matter of fact, since
the error message outputted was so similar, I went back to my issue and
noticed that it was indeed a typo! I'm sorry for all the trouble caused
but I just assumed there was a bigger issue at hand. Any idea on when the
On 11/08/16 17:36, pokemon.master.metal...@gmail.com wrote:
I ended up coming up with a way to reproduce it without hieradata:
init.pp
|
classfoo(Hash[String,Struct[{
x =>Array[Integer],
y =>Array[String]}]]$arg
)
{
notify{"$arg":}
}
classtest
{
class
{
'foo':
arg =>{propertya
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"]}}
}
Thank you for the response Henrik. It's good to know I'm correct in my
assumptions.
I'll try to prepare a small example of tested code for you. What I'll do
is simplify it to this. On puppet 4.3.2 try to load a hash in hiera, pass
to a function expecting a hash but it will error about it