Actions
Bug #23824
openhammer/foreman not following Var paths and then getting datatype of var goes wrong and u get a wierd string instead of a Boolean
Status:
New
Priority:
Normal
Assignee:
-
Category:
Puppet integration
Target version:
-
Description
Example
class myclass::tool (
$raw_var = $::myclass::raw_var
)inherits myclass {
stuff
}
The above would cause proxy import to see the value of $raw_value as a string that contains "$::myclass::raw_var" hardly what u want to happen.
really not sure who or how to get proxy import to get around this, the only way I have found it to stop using inherit like this and default the values to say : false
The other issue I saw during testing around Boolean was a reverse logic sort of error. If the default to a Boolean was true, setting it false via hammer caused to error. please test this. set a Boolean to a default of true instead of false and watch it fail.
Actions