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

Select Status

The modules cookbook has been deprecated

Author provided reason for deprecation:

The modules cookbook has been deprecated and is no longer being maintained by its authors. Use of the modules cookbook is no longer recommended.

You may find that the kernel-modules cookbook is a suitable alternative.

RSS

modules (4) Versions 0.2.0

Manage modules on linux

Policyfile
Berkshelf
Knife
cookbook 'modules', '~> 0.2.0', :supermarket
cookbook 'modules', '~> 0.2.0'
knife supermarket install modules
knife supermarket download modules
README
Dependencies
Quality 33%

modules-cookbook

= 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

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

aufs Applicable Versions
device-mapper Applicable Versions
docker Applicable Versions
gateway Applicable Versions
kvm Applicable Versions
netconsole Applicable Versions
network_interfaces Applicable Versions
network_interfaces_v2 Applicable Versions

Collaborator Number Metric
            

0.2.0 passed this metric

Contributing File Metric
            

0.2.0 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

Cookstyle Metric
            

0.2.0 failed this metric

Chef/Deprecations/ResourceWithoutUnifiedTrue: Set `unified_mode true` in Chef Infra Client 15.3+ custom resources to ensure they work correctly in Chef Infra Client 18 (April 2022) when Unified Mode becomes the default. (https://docs.chef.io/workstation/cookstyle/chef_deprecations_resourcewithoutunifiedtrue): modules/resources/default.rb: 1
Chef/Deprecations/ResourceWithoutUnifiedTrue: Set `unified_mode true` in Chef Infra Client 15.3+ custom resources to ensure they work correctly in Chef Infra Client 18 (April 2022) when Unified Mode becomes the default. (https://docs.chef.io/workstation/cookstyle/chef_deprecations_resourcewithoutunifiedtrue): modules/resources/multi.rb: 1
Chef/Deprecations/UseInlineResourcesDefined: use_inline_resources is now the default for resources in Chef Infra Client 13+ and does not need to be specified. (https://docs.chef.io/workstation/cookstyle/chef_deprecations_useinlineresourcesdefined): modules/providers/default.rb: 21
Chef/Deprecations/UseInlineResourcesDefined: use_inline_resources is now the default for resources in Chef Infra Client 13+ and does not need to be specified. (https://docs.chef.io/workstation/cookstyle/chef_deprecations_useinlineresourcesdefined): modules/providers/multi.rb: 21
Chef/Modernize/DefaultActionFromInitialize: The default action of a resource can be set with the "default_action" helper instead of using the initialize method. (https://docs.chef.io/workstation/cookstyle/chef_modernize_defaultactionfrominitialize): modules/resources/default.rb: 12
Chef/Modernize/DefaultActionFromInitialize: The default action of a resource can be set with the "default_action" helper instead of using the initialize method. (https://docs.chef.io/workstation/cookstyle/chef_modernize_defaultactionfrominitialize): modules/resources/multi.rb: 12
Chef/Modernize/DslIncludeInResource: Chef Infra Client 12.4+ includes the Chef::DSL::Recipe in the resource and provider classed by default so there is no need to include this DSL in your resources or providers. (https://docs.chef.io/workstation/cookstyle/chef_modernize_dslincludeinresource): modules/providers/default.rb: 23
Chef/Modernize/DslIncludeInResource: Chef Infra Client 12.4+ includes the Chef::DSL::Recipe in the resource and provider classed by default so there is no need to include this DSL in your resources or providers. (https://docs.chef.io/workstation/cookstyle/chef_modernize_dslincludeinresource): modules/providers/multi.rb: 23
Chef/Modernize/ShellOutHelper: Use the built-in `shell_out` helper available in Chef Infra Client 12.11+ instead of calling `Mixlib::ShellOut.new('foo').run_command`. (https://docs.chef.io/workstation/cookstyle/chef_modernize_shellouthelper): modules/providers/default.rb: 74
Chef/RedundantCode/LongDescriptionMetadata: The long_description metadata.rb method is not used and is unnecessary in cookbooks. (https://docs.chef.io/workstation/cookstyle/chef_redundantcode_longdescriptionmetadata): modules/metadata.rb: 6
Chef/RedundantCode/PropertyWithRequiredAndDefault: Resource properties should not be both required and have a default value. This will fail on Chef Infra Client 13+ (https://docs.chef.io/workstation/cookstyle/chef_redundantcode_propertywithrequiredanddefault): modules/resources/multi.rb: 7
Chef/RedundantCode/UnnecessaryNameProperty: There is no need to define a property or attribute named :name in a resource as Chef Infra defines this on all resources by default. (https://docs.chef.io/workstation/cookstyle/chef_redundantcode_unnecessarynameproperty): modules/resources/multi.rb: 5
Chef/Sharing/InvalidLicenseString: Cookbook metadata.rb does not use a SPDX compliant license string or "all rights reserved". See https://spdx.org/licenses/ for a complete list of license identifiers. (https://docs.chef.io/workstation/cookstyle/chef_sharing_invalidlicensestring): modules/metadata.rb: 4

Run with Cookstyle Version 7.32.1 with cops Chef/Deprecations,Chef/Correctness,Chef/Sharing,Chef/RedundantCode,Chef/Modernize,Chef/Security,InSpec/Deprecations

No Binaries Metric
            

0.2.0 passed this metric

Testing File Metric
            

0.2.0 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
            

0.2.0 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