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

[4.0.1] blacklist function incomplete #111

Open
mdc-webdb opened this issue Apr 12, 2024 · 0 comments
Open

[4.0.1] blacklist function incomplete #111

mdc-webdb opened this issue Apr 12, 2024 · 0 comments

Comments

@mdc-webdb
Copy link

Affected Puppet, Ruby, OS and module versions/distributions

  • Module version: 4.0..1

The blacklist call only writes an file /etc/modprobe.d/blacklist.conf, which contains the line "blacklist " but this will be not enough.
See:
https://access.redhat.com/solutions/41278
To full black list an module two lines will be needed:

blacklist <modname>
install <modname> /bin/false

An fix can be, calling in the kmod::blacklist function also:
kmod::install { $name : command => '/bin/false' }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant