FusionInventory::Agent::Task::Inventory::Module - Inventory task module for FusionInventory
This module is the base class for all inventory task modules.
Array ref of module string list.
List of modules to always be run before this one. If any module of this list is disabled, the module won't be run: this is a hard dependency.
Example: see FusionInventory::Agent::Task::Inventory::Linux module
List of enabled modules to be run before this one: this is a soft dependency.
Example: see FusionInventory::Agent::Task::Inventory::Generic::Dmidecode::Memory module
If a module in that list is enabled, this one will be disabled.
Example: see FusionInventory::Agent::Task::Inventory::Win32::Bios module
Provided parameters: no_category: ref to hash indexed from no_category parameter datadir : resources folder logger : agent logger registry : registry option passed by server scan_homedirs: scan-homedirs configuration parameter scan_profiles: scan-profiles configuration parameter
Returns true is the module should be used for local inventory.
Returns true is the module should be used for remote inventory (firstly WMI inventory).
Provided parameters: inventory : inventory object to populate with dedicated API no_category: ref to hash indexed from no_category parameter datadir : resources folder logger : agent logger registry : registry option passed by server scan_homedirs: scan-homedirs configuration parameter scan_profiles: scan-profiles configuration parameter
Updates passed inventory with found inventory values.
To install FusionInventory::Agent, copy and paste the appropriate command in to your terminal.
cpanm
cpanm FusionInventory::Agent
CPAN shell
perl -MCPAN -e shell install FusionInventory::Agent
For more information on module installation, please visit the detailed CPAN module installation guide.