Issues have been disabled for this repository.
Any issues with this cookbook should be raised here:
https://github.com/rcbops/chef-cookbooks/issues
Please title the issue as follows:
[modules]: <short description of problem>
In the issue description, please include a longer description of the issue, along with any relevant log/command/error output.
If logfiles are extremely long, please place the relevant portion into the issue description, and link to a gist containing the entire logfile
= DESCRIPTION: Chef cookbook to manage linux modules with /etc/modules and modprobe (linux 2.6 +)
= REQUIREMENTS:
Linux 2.6+ Ubuntu >9.10 (for the moment. use upstart and not init, any contribution is welcome)
= ATTRIBUTES: node[:modules] = A namespace for modules settings.
= USAGE: There are two ways of setting sysctl values:
- Set chef attributes in the sysctl namespace, E.G.: default[:modules][:loop]
- With Ressource/Provider
This cookbook includes LWRPs for managing:
- modules
- modules_multi
- :save: save and load a module (default)
- :load: load a module
- :remove: remove a (previous save) module.
- variable: variable to manage. "net.ipv4.ip_forward", "vm.swappiness" ...
- value: value to affect to variable. "1", "0" ...
- path: path to a specific file
#Actions
- :save: save and set a sysctl value (default)
- :set: set a sysctl value
- :remove: remove a (previous set) sysctl.
- instructions: hash with instruction {variable => value, variable2 => value2}. override use of "variable" and "value".
- path: path to a specific file