User story #5506
closedCustomize Nodes by adding attribute on them
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.
- adding things that are currently not queryable
- not getting that info from the node
- not having a "lapse" where a new node is there but the data will only upload 10 minutes later
- being able to use this info in forming groups
- 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?