Project

General

Profile

Actions

User story #11049

closed

Create a command to display system classes

Added by Alexis MOUSSET almost 4 years ago. Updated over 3 years ago.

Status:
Released
Priority:
N/A
Category:
Agent
Target version:
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.

Actions #1

Updated by Alexis MOUSSET almost 4 years ago

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

Updated by Alexis MOUSSET almost 4 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É almost 4 years ago

  • Target version changed from 4.1.6 to 4.1.7
Actions #4

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 4.1.7 to 4.1.8
Actions #5

Updated by Vincent MEMBRÉ over 3 years ago

  • Target version changed from 4.1.8 to 4.1.9
Actions #6

Updated by Alexis MOUSSET over 3 years ago

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

Updated by Alexis MOUSSET over 3 years ago

The right command is:

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

Updated by Alexis MOUSSET over 3 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 over 3 years ago

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

Updated by Vincent MEMBRÉ over 3 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