Question #7547
closedInventory content
Description
Hi,
Apparently you have some rudder-information twice in the inventory:
/opt/rudder/lib/perl5/FusionInventory/Agent/Task/Inventory/Linux/Rudder.pm:
This adds the following tree:
[...] <RUDDER> <AGENT> <AGENT_NAME>cfengine-community</AGENT_NAME> <CFENGINE_KEY>-----BEGIN RSA PUBLIC KEY----- [...]
/var/rudder/cfengine-community/inputs/inventory/1.0/fusionAgent.cf:
This adds following lines:
[...] <UUID>f671cefa-xxxxxxxxxxxxxxxxxxx</UUID> <USER>root</USER> <AGENTSNAME> <AGENTNAME>Community</AGENTNAME> </AGENTSNAME> <MACHINEID>5398a2bd-xxxxxxxxxxxxxxxxx</MACHINEID> <CFKEY>-----BEGIN RSA PUBLIC KEY----- [...]
via bundle add_information_to_inventory:
<UUID>${g.uuid}</UUID>${const.n}<USER>${USER}</USER>${const.n}<AGENTSNAME>${const.n}</AGENTSNAME>${const.n}<MACHINEID>${RUDDERUUID}</MACHINEID>${const.n}<CFKEY>${CFKEY}</CFKEY>${const.n}<HOSTNAME>${sys.fqhost}</HOSTNAME>${const.n}<POLICY_SERVER>${POLSRVUUID}</POLICY_SERVER>${const.n}
Apparently the first is upstream in fusion inventors (seen @ https://github.com/fusioninventory/fusioninventory-agent/blob/0ad7d5981e4187bfeeb5f3f1777778e7f8f9fce0/lib/FusionInventory/Agent/Task/Inventory/Linux/Rudder.pm)
But isn't this somehow redundant?
Updated by François ARMAND about 8 years ago
In fact, we started with the non-upstream, then we get them accepted upstream in a slightly different format, and we had to keep a time with both to ensure frictionless migration path between extended support version.
The old information will now be removed :)
Updated by François ARMAND about 8 years ago
Ah, and just to be clear: you are totally alright on the redondancy :)
Updated by Benoît PECCATTE almost 8 years ago
- Status changed from New to Resolved
Question answered a long time ago, feel free to reopen if something is still missing