geppetto
geppetto copied to clipboard
Default parameter value that is using other parameters is giving warning in Geppetto
The following simple define gives an error in Geppetto. Even though it works in Puppet.
define test(
$user = $title,
$group = $user
) {
exec { "$user":
command => "echo $group",
path => "/usr/bin:/bin"
}
}
This also occurs with interpolated variables, e.g.:
define test (
$foo = $title,
$bar = "/${foo}/bar",
) {
...
}