Chef cookbook to manage linux modules with /etc/modules and modprobe (linux 2.6 +)
Linux 2.6+ Ubuntu >9.10 (for the moment. use upstart and not init, any contribution is welcome)
node['modules'] = A namespace for modules settings.
There are two ways of setting sysctl values:
- Set chef attributes, 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 (previously saved or load) module.
- module
- options
- path
modules '8021q' do
action :load
end
- :save: save and load modules (default)
- :remove: remove (previously saved or load) modules.
- modules
- path