On 2012-15-02 24:07, MBroderick@TDS wrote:
We are trying to conditionalize what is required by a resource...
service { "xxx":
...
require => $bool-var ? {
true => [ list1 ],
false => [ list2 ],
}
}
is $bool-var really a boolean, or does it contain the text "
We are trying to conditionalize what is required by a resource...
service { "xxx":
...
require => $bool-var ? {
true => [ list1 ],
false => [ list2 ],
}
}
But false always seems to get selected regardless of the value of bool-
var (true or false).
As a workaround, we