Project

General

Profile

Actions

Enhancement #18028

open

Group classes list should be distributed via a simple json

Added by Félix DALLIDET over 4 years ago. Updated about 1 year ago.

Status:
New
Priority:
N/A
Assignee:
-
Category:
Server components
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 #1

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 6.0.8 to 6.0.9
Actions #2

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 6.0.9 to 6.0.10
Actions #3

Updated by Vincent MEMBRÉ about 4 years ago

  • Target version changed from 6.0.10 to 798
Actions #4

Updated by Benoît PECCATTE over 3 years ago

  • Target version changed from 798 to 6.1.14
Actions #5

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 6.1.14 to 6.1.15
Actions #6

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 6.1.15 to 6.1.16
Actions #7

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 6.1.16 to 6.1.17
Actions #8

Updated by Vincent MEMBRÉ about 3 years ago

  • Target version changed from 6.1.17 to 6.1.18
Actions #9

Updated by Vincent MEMBRÉ about 3 years ago

  • Target version changed from 6.1.18 to 6.1.19
Actions #10

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 6.1.19 to 6.1.20
Actions #11

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 6.1.20 to 6.1.21
Actions #12

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 6.1.21 to old 6.1 issues to relocate
Actions #13

Updated by Alexis Mousset almost 2 years ago

  • Tracker changed from User story to Enhancement
Actions #14

Updated by Alexis Mousset almost 2 years ago

  • Target version changed from old 6.1 issues to relocate to 7.2.5
Actions #15

Updated by Vincent MEMBRÉ almost 2 years ago

  • Target version changed from 7.2.5 to 7.2.6
Actions #16

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 7.2.6 to 7.2.7
Actions #17

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 7.2.7 to 7.2.8
Actions #18

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 7.2.8 to 7.2.9
Actions #19

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 7.2.9 to 7.2.10
Actions #20

Updated by Alexis Mousset over 1 year ago

  • Target version changed from 7.2.10 to 7.2.11
Actions #21

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 7.2.11 to 1046
Actions #22

Updated by Alexis Mousset about 1 year ago

  • Target version changed from 1046 to Ideas (not version specific)
Actions

Also available in: Atom PDF