Puppet Module for zram_generator

June 21, 2024 ยท View on GitHub

Build Status Release Puppet Forge Version Puppet Forge Downloads Puppet Forge Endorsement puppetmodule.info docs Apache v2 License Donated by CERN

Description

Installs and configures zram_generator

Example

zram_generator::zram{'zram1':
  zram_size         => 'ram / 2',
}

This will create a /dev/zram1 device half the size of available RAM and activate it.

Hiera Example

A set of zram_generator::zram can be loaded from hiera:

zram_generator::zrams:
  zram0:
    fs_type: 'ext4'
    mount_point: '/run/mount'
  zram1:
    zram_size: 1024

Reference

See REFERENCE.md for full details of parameters.