Project

General

Profile

User story #11049

Create a command to display system classes

Added by Alexis MOUSSET about 1 year ago. Updated 7 months ago.

Status:
Released
Priority:
N/A
Category:
Agent
Target version:
Target version (plugin):
Suggestion strength:
User visibility:
Effort required:

Description

We can easily display system classes currently defined on a node, this could be useful to help building policies.

Associated revisions

Revision 9e576cbf (diff)
Added by Alexis MOUSSET 8 months ago

Fixes #11049: Create a command to display system classes

History

#1 Updated by Alexis MOUSSET about 1 year ago

cf-promises --show-classes | grep " inventory," | cut -d' ' -f1

#2 Updated by Alexis MOUSSET about 1 year ago

(that could be easy to make it part of the inventory, and make them available to the webapp, probably easier for policy builders)

#3 Updated by Vincent MEMBRÉ 12 months ago

  • Target version changed from 4.1.6 to 4.1.7

#4 Updated by Vincent MEMBRÉ 11 months ago

  • Target version changed from 4.1.7 to 4.1.8

#5 Updated by Vincent MEMBRÉ 9 months ago

  • Target version changed from 4.1.8 to 4.1.9

#6 Updated by Alexis MOUSSET 8 months ago

  • Status changed from New to In progress
  • Assignee set to Alexis MOUSSET

#7 Updated by Alexis MOUSSET 8 months ago

The right command is:

cf-promises --show-classes | grep "hardclass$" | awk '{ print $1 }'

#8 Updated by Alexis MOUSSET 8 months ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Alexis MOUSSET to Benoît PECCATTE
  • Pull Request set to https://github.com/Normation/rudder-agent/pull/142

#9 Updated by Alexis MOUSSET 8 months ago

  • Status changed from Pending technical review to Pending release

#10 Updated by Vincent MEMBRÉ 7 months ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 4.1.9 and 4.2.3 which were released today.

Also available in: Atom PDF