Skip to content

Chef cookbook to manage linux modules with /etc/modules and modprobe (linux 2.6 +)

Notifications You must be signed in to change notification settings

sandoracs/modules

 
 

Repository files navigation

CK Version Build Status Gitter chat

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:

  1. Set chef attributes, E.G.: default['modules']['loop']
  2. With Ressource/Provider

Resource/Provider

This cookbook includes LWRPs for managing:

  • modules
  • modules_multi

modules

Actions

  • :save: save and load a module (default)
  • :load: load a module
  • :remove: remove a (previously saved or load) module.

Attribute Parameters

  • module
  • options
  • path

Examples

modules '8021q' do
  action :load
end

modules_multi

Actions

  • :save: save and load modules (default)
  • :remove: remove (previously saved or load) modules.

Attribute Parameters

  • modules
  • path

Examples

About

Chef cookbook to manage linux modules with /etc/modules and modprobe (linux 2.6 +)

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 98.2%
  • HTML 1.8%