Project

General

Profile

Actions

User story #5506

closed

Customize Nodes by adding attribute on them

Added by Florian Heigl about 10 years ago. Updated over 9 years ago.

Status:
Released
Priority:
1 (highest)
Category:
Web - Nodes & inventories
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:

Description

Hi,

I'm not sure if this is currently possible. Probably best to describe it now while the idea is raw.

I (think I) would like to sync CMDB data into Rudders LDAP, for example server owners (SAP guys) and usage classes (Testing, Production).
It would be helpful if there could be data for nodes that are still uninventorized and/or pending.

The core points to this:
  1. adding things that are currently not queryable
  2. not getting that info from the node
  3. not having a "lapse" where a new node is there but the data will only upload 10 minutes later
  4. being able to use this info in forming groups
  5. being able to use this info in resulting cf classes

[note from release: the last point was not implemented and will be included along with #3112]

Grepping in the source a little I can see how it's done for the known attributes:

rudder-web/src/main/resources/ldapObjectAndAttributes.properties:ldap.object.networkInterfaceLogicalElement = Network interfaces
rudder-web/src/main/scala/com/normation/rudder/web/services/DisplayNode.scala: { if (showExtraFields) <li><a href={htmlId_#(jsId,"sd_net_")}>Network interfaces</a></li> else NodeSeq.Empty } ::
rudder-web/src/main/scala/com/normation/rudder/web/services/DisplayNode.scala: <li><a href={htmlId_#(jsId,"sd_net_")}>Network interfaces</a></li>

Would the plugin interface of the web app offer a way to do this?


Subtasks 1 (0 open1 closed)

User story #5843: Add key=value node properties, managed via REST API and allowing to build groupReleasedNicolas CHARLES2014-11-27Actions

Related issues 7 (0 open7 closed)

Related to Rudder - User story #3112: Allow to get informations from the node inventory to use them in Directives and ncf techniquesReleasedFrançois ARMANDActions
Related to Rudder - User story #3543: Allow to set key=value tags on nodesResolvedActions
Related to Rudder - Bug #5951: Missing nodekey=value tag API documentationReleasedJonathan CLARKE2014-12-09Actions
Related to Rudder - User story #5821: Proposal: have the possibility to add additional custom information to a nodeRejectedFrançois ARMAND2014-11-26Actions
Related to Rudder - User story #4670: Allows inventories to be augmented by the user with custom propertiesReleasedFrançois ARMANDActions
Related to Rudder - User story #6246: Feature idea: Allow other variable types when using the cfengine variable techniqueRejectedActions
Related to Rudder - User story #6733: Allow Node properties to be used in directives and ncf techniquesReleased2016-07-20Actions
Actions

Also available in: Atom PDF