Actions
Bug #10743
closedDynamic group search not available on boolean node property value
Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
Web - Nodes & inventories
Target version:
-
Pull Request:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Operational - other Techniques | Technique editor | Rudder settings
Effort required:
Priority:
30
Name check:
Fix check:
Regression:
Description
If a simple node property is added via the GUI, example: "install_fail2ban" is set to "true", this expression is not searchable via a dynamic group query, that is built as "[Properties] [Name=Value] [=] [install_fail2ban=true]". This is probably because "true" is not a string.
It works if the property's value is a string, like "yes".
However, if it's not a boolean, the node property cannot be used in a mustache template with {{#vars.node.properties.install_fail2ban}}
.
Current workaround is to create a dynamic group based on the search "install_fail2ban=yes", and use the group's class definition in the mustache template like {{#classes.group_install_fail2ban_software}}
.
Actions