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

bus-scsi (2) Versions 0.1.1

Pseudo-ohai for SCSI disks

Berkshelf/Librarian
Policyfile
Knife
cookbook 'bus-scsi', '~> 0.1.1'
cookbook 'bus-scsi', '~> 0.1.1', :supermarket
knife cookbook site install bus-scsi
knife cookbook site download bus-scsi
README
Dependencies
Quality 67%

bus-scsi

Cookbook Version Build Status

Expose SCSI disk information via automatic attributes under the bus.scsi namespace.

Requirements

This cookbook requires Chef 12.7+.

Platforms

  • Linux with libudev-147+ (tested with CentOS 6)
  • Windows (tested with Windows Server 2012R2 & 2016)

Usage

You just need to load the cookbook to get access to the SCSI automatic attributes. * In a cookbook, add a dependency to bus-scsi in your cookbook's metadata. * On a node, add the bus-scsi::default recipe to your run-list.

You can disable these attributes by turning the bus_scsi_disabled setting to true in the Chef config.

Attributes

The bus.scsi namespace is a hash with one entry per SCSI disk. For each disk, the hash key is the "host:channel:target:lun" quadruplet and the value is another hash with the following attributes exposed:

Attribute Description
host SCSI adapter number
channel SCSI channel number
target SCSI id number
lun SCSI Logical unit number
model Vendor model string
fwrev Firmware revision identifier
serial Disk serial number
size Size of the disk in bytes
wwn World wide number identifier (only in Linux)
devnode Device entry in /dev (only in Linux)
host_pci PCI location of the host adapter this device depends on (only in Linux)

Recipes

This cookbook has a single bus-scsi::default recipe which does nothing. It can be used to load the cookbook from a run-list.

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

0.1.1 failed this metric

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

Contributing File Metric
            

0.1.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
            

0.1.1 passed this metric

License Metric
            

0.1.1 passed this metric

No Binaries Metric
            

0.1.1 passed this metric

Publish Metric
            

0.1.1 passed this metric

Supported Platforms Metric
            

0.1.1 passed this metric

Testing File Metric
            

0.1.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
            

0.1.1 passed this metric