Adoptable Cookbooks List

Looking for a cookbook to adopt? You can now see a list of cookbooks available for adoption!
List of Adoptable Cookbooks

Supermarket Belongs to the Community

Supermarket belongs to the community. While Chef has the responsibility to keep it running and be stewards of its functionality, what it does and how it works is driven by the community. The chef/supermarket repository will continue to be where development of the Supermarket application takes place. Come be part of shaping the direction of Supermarket by opening issues and pull requests or by joining us on the Chef Mailing List.

Select Badges

Select Supported Platforms

RSS

kernel_module (2) Versions 1.0.1

Load kernel modules

Berkshelf/Librarian
Policyfile
Knife
cookbook 'kernel_module', '~> 1.0.1'
cookbook 'kernel_module', '~> 1.0.1', :supermarket
knife cookbook site install kernel_module
knife cookbook site download kernel_module
README
Dependencies
Quality 44%

kernel_module Cookbook

This cookbook will aid in adding/removing kernel modules from a running system, and ensure they're loaded at system boot.

Requirements

Requires Chef 12.5+.

Platform

The release was tested on:

  • Ubuntu 12.04
  • Ubuntu 14.04

May work with or without modification on other Debian derivatives.

Recipes

default

This recipe expects node[:kernel_modules] to be of the form:

{
  raid10: :install,
  raid456: :uninstall,
  ntfs: :blacklist
}

and performs the actions specified on the modules listed, so you can specify modules to load/unload entirely from a role-file.

Attributes

General

  • ['kernel_modules'] - Hash of modules to perform actions on using the default recipe.

Resources

kernel_module

This resource allows you to manage kernel modules.

Actions

  • :install: loads the module immediately, adds an entry to /etc/modprobe.d to ensure it loads on boot, and updates the initramfs.
  • :uninstall: unloads the module immediately, removes the configuration entry, and updates the initrams.
  • :blacklist: unloads the module immediately, and adds a configuration file to blacklist the module.
  • :load: loads the module immediately.
  • :unload: unloads the module immediately.

Examples

Permanently load the zfs module:

kernel_module 'zfs'

Unload just the raid10 module:

kernel_module 'raid10' do
  action :unload
end

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

network_interfaces_v2 Applicable Versions

Collaborator Number Metric
            

1.0.1 failed this metric

Failure: Cookbook has 1 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

1.0.1 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file

Foodcritic Metric
            

1.0.1 failed this metric

FC064: Ensure issues_url is set in metadata: kernel_module/metadata.rb:1
FC065: Ensure source_url is set in metadata: kernel_module/metadata.rb:1
FC066: Ensure chef_version is set in metadata: kernel_module/metadata.rb:1
Run with Foodcritic Version 12.2.1 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

License Metric
            

1.0.1 passed this metric

No Binaries Metric
            

1.0.1 passed this metric

Publish Metric
            

1.0.1 passed this metric

Supported Platforms Metric
            

1.0.1 passed this metric

Testing File Metric
            

1.0.1 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file

Version Tag Metric
            

1.0.1 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number