Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support of hash of zram_generator::zram instances #19

Merged
merged 1 commit into from
Jun 21, 2024

Conversation

traylenator
Copy link
Contributor

Pull Request (PR) description

Support a new parameter zrams on the main class to expand a hash of zram_generator::zram instances from hiera.

For example:

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

Change requires at least puppetlabs-stdlib v8.5.0 to provide the Stdlib::CreateResources type.

This Pull Request (PR) fixes the following issues

Fixes #18

Support a new parameter `zrams` on the main class to expand
a hash of `zram_generator::zram` instances from hiera.

For example:

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

Change requires at least puppetlabs-stdlib v8.5.0 to provide
the `Stdlib::CreateResources` type.
@traylenator traylenator merged commit 30775ef into voxpupuli:master Jun 21, 2024
4 checks passed
@traylenator traylenator deleted the hiera branch June 21, 2024 08:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

using zram with Hiera
2 participants