zram_generator

zram_generator configuration

762 downloads

150 latest version

5.0 quality score

Version information

  • 2.0.0 (latest)
  • 1.1.0
  • 1.0.0
released Jul 29th 2024
This version is compatible with:
  • Puppet Enterprise 2025.4.x, 2025.3.x, 2025.2.x, 2025.1.x, 2023.8.x, 2023.7.x, 2023.6.x, 2023.5.x, 2023.4.x, 2023.3.x, 2023.2.x, 2023.1.x, 2023.0.x, 2021.7.x, 2021.6.x, 2021.5.x, 2021.4.x, 2021.3.x, 2021.2.x, 2021.1.x, 2021.0.x
  • Puppet >= 7.0.0 < 9.0.0
  • RedHat
    ,
    Rocky
    ,
    CentOS
    ,
    Scientific
    ,
    OracleLinux
    ,
    AlmaLinux
    , Archlinux

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'puppet-zram_generator', '2.0.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add puppet-zram_generator
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install puppet-zram_generator --version 2.0.0

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download
Tags: ram, zram, voxpupuli

Documentation

puppet/zram_generator — version 2.0.0 Jul 29th 2024

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.