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

RSS

multipath (6) Versions 0.0.9

Installs and configures device-mapper-multipath

Policyfile
Berkshelf
Knife
cookbook 'multipath', '~> 0.0.9', :supermarket
cookbook 'multipath', '~> 0.0.9'
knife supermarket install multipath
knife supermarket download multipath
README
Dependencies
Changelog
Quality 17%

Multipath Build Status

Description

This cookbook provides provides the ability to configure Device Mapper
Multipath MPIO for Fibre-Channel and iSCSI storage attached systems.

A generic template, as well as four vendor-specific templates are included
within this cookbook. Included vendor-specific templates are for
Equallogic iSCSI, EMC Clariion, Dell Powervault MDxxxx and PureStorage
storage arrays.

Requirements

  • iscsi
  • dbench

Attributes

multipath.conf template

  • multipath (namespace)
    • ["blacklist_regex"]: An array of regular expressions to blacklist. Default 'sd[a]$'
    • ["blacklist_wwid"]: An array of World-Wide Identifiers (WWID) to blacklist. Default empty.
    • ["aliases"]: A colon separated mapping of WWID to assign a friendly name. Default empty.
    • ["storage_type"]: Select a vendor-specific multipath template (equallogic, powervault, clariion, default)

Usage

Set node specific overrides, and add recipe["multipath"] to the run_list

Example multipath node configuration for an EMC Clariion array. The keys, u01
through u03 are "friendly" name aliases for the storage paths.

"normal": {
  "multipath": {
      "storage_type": "clariion",
      "blacklist_regex": [ "^sd[ab]$" ],
      "blacklist_wwid": [
        "3600508e000000000a02ffd9698283e07",
        "3600508e000000000bb2f2d55b328ee05",
        "350060160b9a03c9450060160b9a03c94"
      ],
      "aliases": [
        "u01:36006016005041f00d8f65c69ec56df11",
        "u02:36006016005041f00d9f65c69ec56df11",
        "u03:36006016005041f00daf65c69ec56df11"
      ]
  }
}

multipath::undo recipe

A run-once recipe to undo the default recipe. Inspired by the annoyances cookbook.

License and Author

Copyright 2015, Ovais Tariq me@ovaistariq.net

Copyright 2010-2012, Eric G. Wolfe

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

iscsi Applicable Versions

v0.0.9

  • Add support for PureStorage SAN
  • Add test-kitchen tests
  • Fix issues reported by foodcritic

v0.0.8

  • Correct resource ordering problem with service/notify

v0.0.7

  • Fix Travis badge on README
  • Add chefignore file

v0.0.6

  • Add package/service attributes
  • Add debian family support
  • Add attribute sanity tests + Travis files
  • Add multipath::undo recipe

Collaborator Number Metric
            

0.0.9 failed this metric

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

Contributing File Metric
            

0.0.9 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
            

0.0.9 failed this metric

FC053: Metadata uses the deprecated "recommends" keyword: multipath/metadata.rb:7
FC053: Metadata uses the deprecated "recommends" keyword: multipath/metadata.rb:8
FC064: Ensure issues_url is set in metadata: multipath/metadata.rb:1
FC065: Ensure source_url is set in metadata: multipath/metadata.rb:1
FC066: Ensure chef_version is set in metadata: multipath/metadata.rb:1
FC069: Ensure standardized license defined in metadata: multipath/metadata.rb:1
FC072: Metadata should not contain "attribute" keyword: multipath/metadata.rb:1
Run with Foodcritic Version 16.3.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

No Binaries Metric
            

0.0.9 passed this metric

Testing File Metric
            

0.0.9 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.0.9 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