Project

General

Profile

Actions

User story #11049

closed

Create a command to display system classes

Added by Alexis Mousset over 7 years ago. Updated almost 7 years ago.

Status:
Released
Priority:
N/A
Category:
Agent
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:

Description

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

Actions #1

Updated by Alexis Mousset over 7 years ago

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

Updated by Alexis Mousset over 7 years ago

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

Actions #3

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 4.1.6 to 4.1.7
Actions #4

Updated by Vincent MEMBRÉ about 7 years ago

  • Target version changed from 4.1.7 to 4.1.8
Actions #5

Updated by Vincent MEMBRÉ about 7 years ago

  • Target version changed from 4.1.8 to 4.1.9
Actions #6

Updated by Alexis Mousset almost 7 years ago

  • Status changed from New to In progress
  • Assignee set to Alexis Mousset
Actions #7

Updated by Alexis Mousset almost 7 years ago

The right command is:

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

Updated by Alexis Mousset almost 7 years 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
Actions #9

Updated by Alexis Mousset almost 7 years ago

  • Status changed from Pending technical review to Pending release
Actions #10

Updated by Vincent MEMBRÉ almost 7 years 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.

Actions

Also available in: Atom PDF