User story #11049
closed
Create a command to display system classes
Added by Alexis Mousset over 7 years ago.
Updated almost 7 years ago.
Description
We can easily display system classes currently defined on a node, this could be useful to help building policies.
cf-promises --show-classes | grep " inventory," | cut -d' ' -f1
(that could be easy to make it part of the inventory, and make them available to the webapp, probably easier for policy builders)
- Target version changed from 4.1.6 to 4.1.7
- Target version changed from 4.1.7 to 4.1.8
- Target version changed from 4.1.8 to 4.1.9
- Status changed from New to In progress
- Assignee set to Alexis Mousset
The right command is:
cf-promises --show-classes | grep "hardclass$" | awk '{ print $1 }'
- 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
- Status changed from Pending technical review to Pending release
- 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