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

Manage entries in modules-load.d directory #244

Merged
merged 2 commits into from
Jan 26, 2022

Conversation

traylenator
Copy link
Contributor

Pull Request (PR) description

A new type systemd::modules_load can add entries
to the directory /etc/modules-load.d.

systemd::modules_load{'ipmi.conf':
  content => "ipmi\n",
}

Upon modification systemctl start systemd-modules-load.service will
be called to activate the new file.

@traylenator traylenator added the enhancement New feature or request label Jan 25, 2022
manifests/modules_load.pp Outdated Show resolved Hide resolved
manifests/modules_loads.pp Outdated Show resolved Hide resolved
spec/defines/modules_load_spec.rb Outdated Show resolved Hide resolved
A new type `systemd::modules_load` can add entries
to the directory `/etc/modules-load.d`.

```puppet
systemd::modules_load{'ipmi.conf':
  content => "ipmi\n",
}
```
Upon modification `systemctl  start systemd-modules-load.service` will
be called to activate the new file.
Co-authored-by: Tim Meusel <tim@bastelfreak.de>
@traylenator traylenator merged commit b1bdb2b into voxpupuli:master Jan 26, 2022
@traylenator traylenator deleted the modules branch January 26, 2022 07:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants