Skip to content

voxpupuli/puppet-zram_generator

Puppet Module for zram_generator

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.