You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
unfortunately we cannot just cast the string "true" to a boolean. Someone might have host.vars.something = "true", there should be no hidden magic. Because of this there are some special operators in the drop-down field when defining an Apply Rule. is true (or set) is probably what you're looking for.
Cheers,
Thomas
NB: If you have a better idea of how to deal with this please let me know!
I thought there was sort of an automated rendering for these values? But reading on, I see that there's more operators added to the condition. Makes sense now, I had not remembered that, now I do.
Thanks for the fast response :) No idea for the renderer unfortunately, unless you define this once (but this breaks existing installations).
Expected Behavior
Same as with apply rules defined,
true
andfalse
are rendered as raw values and not as strings.Current Behavior
Service sets render
"true"
as given in the web form.Possible Solution
Probably the rendering/replacement takes place in two code locations. Or a call is missing to extract special values.
Steps to Reproduce (for bugs)
assign where
condition to the setYour Environment
icinga2 --version
): snapshot packages, 2019-01-30The text was updated successfully, but these errors were encountered: