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

chef_zpool (1) Versions 0.1.0

Manages ZFS zpools

Policyfile
Berkshelf
Knife
cookbook 'chef_zpool', '~> 0.1.0', :supermarket
cookbook 'chef_zpool', '~> 0.1.0'
knife supermarket install chef_zpool
knife supermarket download chef_zpool
README
Dependencies
Changelog
Quality 50%

chef_zpool Cookbook

Build Status Cookbook Version

A resource for creating and destroying zpools. This cookbook is forked from the original zpools cookbook by Martha Greenberg at https://github.com/marthag8/zpool.

Requirements

Platforms

  • Ubuntu
  • FreeBSD
  • Solaris

Chef

  • Chef 12.7+

Cookbooks

  • none

Resources

zpool

Actions

  • :create
  • destroy

Properties

  • ashift - Set sector size, support by the OS is not verified.
  • disks - Array of disks to put in the pool.
  • force - Force the use of vdevs, even if they appear to be in use.
  • mountpoint - Mountpoint for the top-level file system, absolute path or 'none'.
  • recursive - Add a -r to the command.
  • raid - The RAID type of the zpool. mirror, raidz, raidz2, or raidz3

Examples

zpool "test" do
  disks [ "c0t2d0s0", "c0t3d0s0" ]
end

zpool "test2" do
  action :destroy
end

Maintainers

This cookbook is maintained by Chef's Community Cookbook Engineering team. Our goal is to improve cookbook quality and to aid the community in contributing to cookbooks. To learn more about our team, process, and design goals see our team documentation. To learn more about contributing to cookbooks like this see our contributing documentation, or if you have general questions about this cookbook come chat with us in #cookbok-engineering on the Chef Community Slack

License

Copyright: 2012-2017, Martha Greenberg Copyright: 2017, Chef Software, Inc.

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

There are no cookbooks that are contingent upon this one.

chef_zpool Cookbook CHANGELOG

This file is used to list changes made in each version of the chef_zpool cookbook.

0.1.0 (2017-11-10)

  • This cookbook has been forked as the chef_zpool cookbook and significantly refactored.
  • Rewrote as a custom resource with support for Chef 13. Requires Chef 12.7 or later.
  • New raid property in the zpool resource with support for raid-z
  • Remove the need for the state and info properties on the existing LWRP. Use simple methods instead. This prevents state properties appearing to update incorrectly.
  • Switched testing to from Rake -> Delivery local mode and ServerSpec -> InSpec
  • Eliminated the need for the helper recipe on Solaris for testing

0.0.3

  • Add the force and mountpoint resource options.
  • Set up test-kitchen use and add serverspec tests
  • Clean up rubocop offences
  • Use zpool status instead of zpool list -v to find volumes in use. "-v" is not a valid solaris option.
  • When the ashift option value is 0 don't add the option to the create command.

Collaborator Number Metric
            

0.1.0 passed this metric

Contributing File Metric
            

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

Foodcritic Metric
            

0.1.0 passed this metric

No Binaries Metric
            

0.1.0 passed this metric

Testing File Metric
            

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