inventory-physical-memory

Inventory information about physical memory.

Maintainer

Nick Anderson

Module stats

Total Downloads: 8
Updated: May 8, 2023

Installation version

Version
Released on May 8, 2023

Tags

Installation

                    
cfbs add inventory-physical-memory@0.0.1
Description
Dependencies
Discussion

This CFEngine Build module inventories information about physical memory.

This module expects dmidecode to be found in paths ($(paths.dmidecode)) and currently only targets Linux.

Configuration

inventory_physical_memory:cache.file

The file in which to cache inventory, defaults to $(sys.statedir)/$(this.namespace)-$(this.bundle).dat (/var/cfengine/state/inventory_physical_memory-cache.dat).

  {
      "variables": {
          "inventory_physical_memory:cache.file": {
              "value": "/var/cache/cfengine/inventory_physical_memory.dat"
          }
      }
  }
inventory_physical_memory:cache.minutes

The number of minutes after which the cache should be invalidated, defaults to 43200 (~ 1 month).

  {
      "variables": {
          "inventory_physical_memory:cache.minutes": {
              "value": "1"
          }
      }
  }

Inventory

Maximum Capacity
The maximum amount of memory the system can have installed, derived from dmidecode

Dependencies

This module has no dependencies