Displaying 1 result from an estimated 1 matches for "mynamevar".
Did you mean:
isnamevar
2012 Dec 04
14
custom define type for array with 'case' argument pass to it
...=> "/var/log/puppet/${name}_log",
ensure => link,
target => "/var/data/log/puppet/${name}_lastlog",
}
}
}
}
I would like to use array of names inside manifests.
I tried to call it like this :
$mynamevar = range("node01", "node05")
link_files { ''$mynamevar'' :
$linkcase => "var",
}
but it doesn''t like it and complains this :
Error 400 on SERVER: Syntax error at ''linkcase''; expected ''}''
What should b...