Actions
Enhancement #18028
openGroup classes list should be distributed via a simple json
Status:
New
Priority:
N/A
Assignee:
-
Category:
Server components
Target version:
Pull Request:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
To do
Fix check:
To do
Regression:
Description
Currently, it seems like the group classes are passed via escaped cfengine code which defines classes.
It would be way easier to use this for non cfengine agents if it was passed as a single json list of strings.
Ex:
"RUDDER_NODE_GROUPS_CLASSES":"\"group_special_all_exceptpolicyservers\" expression => \"any\",\n meta => { \"inventory\", \"attribute_name=rudder_groups\" };\n\"group_all_managed_nodes\" expression => \"any\",\n meta => { \"inventory\", \"attribute_name=rudder_groups\" };\n\"group_special_all_nodes_without_role\" expression => \"any\",\n meta => { \"inventory\", \"attribute_name=rudder_groups\" };\n\"group_all_nodes_excluding_rudder_server_roles\" expression => \"any\",\n meta => { \"inventory\", \"attribute_name=rudder_groups\" };\n\"group_all_nodes_with_dsc_agent\" expression => \"any\",\n meta => { \"inventory\", \"attribute_name=rudder_groups\" };\n\"group_all_nodes_with_a_rudder_windows_dsc_agent\" expression => \"any\",\n meta => { \"inventory\", \"attribute_name=rudder_groups\" };\n\"group_special_all\" expression => \"any\",\n meta => { \"inventory\", \"attribute_name=rudder_groups\" };\n\"group_all_nodes\" expression => \"any\",\n meta => { \"inventory\", \"attribute_name=rudder_groups\" };\n\"group_4a105ddc_ee2a_4681_926e_7fc0e9c57f16\" expression => \"any\",\n meta => { \"inventory\", \"attribute_name=rudder_groups\" };\n\"group_windows_nodes\" expression => \"any\",\n meta => { \"inventory\", \"attribute_name=rudder_groups\" };", "RUDDER_NODE_GROUPS_VARS":"\"by_uuid[special:all_exceptPolicyServers]\" string => \"All managed nodes\",\n
Actions