-
Notifications
You must be signed in to change notification settings - Fork 6
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
cannot change modprobe_file name #11
Comments
Hello @bcg62, You would personally recommend putting everything in one single file by module, less confusing, wouldn't you? Regards, |
This is the file that ships with the rpm. Its installed as /etc/modprobe.d/onload.conf and the module name is onload https://github.com/majek/openonload/blob/master/scripts/onload_misc/onload_modprobe.conf It's not possible to encapsulate all of this with this cookbook/chef nor is it worth the effort. Also i would have to check every rpm release and keep chef in sync. I have a handful of module parameters i drop in a different filename which keeps this simple and easy. I could always move /etc/modprobe.d/onload.conf to something else so this cookbook doesnt overwrite it but now i have to go though the effort of subscribing or notifying an action anytime an rpm is installed or updated and also as you have stated chef will cobber the file the rpm provides. |
Hello @bcg62, Why can't you define a module called |
I have a situation where an rpm drops its own modprobe.d conf file which i would like to respect and as per its documentation it recommends adding a second file, something like:
modprobe.d/${module}_options.conf
As far as i can tell this currently cannot be done
The text was updated successfully, but these errors were encountered: