https://github.com/voxpupuli/puppet-zram_generator
Installs and configures zram_generator with puppet
https://github.com/voxpupuli/puppet-zram_generator
centos-puppet-module hacktoberfest linux-puppet-module oraclelinux-puppet-module puppet redhat-puppet-module scientific-puppet-module
Last synced: 11 days ago
JSON representation
Installs and configures zram_generator with puppet
- Host: GitHub
- URL: https://github.com/voxpupuli/puppet-zram_generator
- Owner: voxpupuli
- License: apache-2.0
- Created: 2022-08-29T13:19:57.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2025-03-19T19:55:59.000Z (about 1 month ago)
- Last Synced: 2025-04-11T01:31:14.006Z (16 days ago)
- Topics: centos-puppet-module, hacktoberfest, linux-puppet-module, oraclelinux-puppet-module, puppet, redhat-puppet-module, scientific-puppet-module
- Language: Ruby
- Size: 68.4 KB
- Stars: 3
- Watchers: 42
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# Puppet Module for zram_generator
[](https://github.com/voxpupuli/puppet-zram_generator/actions?query=workflow%3ACI)
[](https://github.com/voxpupuli/puppet-zram_generator/actions/workflows/release.yml)
[](https://forge.puppetlabs.com/puppet/zram_generator)
[](https://forge.puppetlabs.com/puppet/zram_generator)
[](https://forge.puppetlabs.com/puppet/zram_generator)
[](http://www.puppetmodule.info/m/puppet-zram_generator)
[](LICENSE)
[](#transfer-notice)## Description
Installs and configures [zram_generator](https://github.com/systemd/zram-generator)## Example
```puppet
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:
```yaml
zram_generator::zrams:
zram0:
fs_type: 'ext4'
mount_point: '/run/mount'
zram1:
zram_size: 1024
```## Reference
See [REFERENCE.md](REFERENCE.md) for full details of parameters.