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

snapraid (5) Versions 0.4.0

Installs/Configures snapraid

Policyfile
Berkshelf
Knife
cookbook 'snapraid', '~> 0.4.0', :supermarket
cookbook 'snapraid', '~> 0.4.0'
knife supermarket install snapraid
knife supermarket download snapraid
README
Dependencies
Changelog
Quality 33%

SnapRAID cookbook GitHub license Cookbook Version Build Status

This cookbook provides a default recipe to install and configure SnapRAID.

Uses Chronial's snapraid-runner as an optional cronjob.

Requirements

Operating Systems

Ubuntu: 12.04, 14.04

CentOS: 6.6, 7.0

Windows: 2012 R2

Misc

  • Network access to SourceForge
  • Network access to GitHub

Packages

  • python

Usage

Add the SnapRAID cookbook to your runlist, and set the data_disks, parity_disks, and content_files attributes in accordance with the desired SnapRAID configuration.

See the SnapRAID FAQ for more details.

Example

default_attributes(  
  'snapraid' => {  
    'data_disks'=> ['/media/disk1/','/media/disk2/'],  
    'parity_disks' => ['/media/disk3/'],  
    'content_files' => ['/media/disk1/', '/media/disk1/']  
  }  
)

You must set the above three arrays containing your disks and content files otherwise SnapRAID will not run!

Windows Support

This cookbook has been tested on Windows 2012 R2, but should work wherever Chef and SnapRAID do.

Attributes

Too many to list! Refer to attributes/default.rb.

Some attributes are Windows/Linux specific (paths, etc.) and some only exist in one platform or the other (e.g. cron/scheduled task timings).

Recipes

default

Used to install and configure SnapRAID.

scheduler

Used to install and configure Chronial's snapraid-runner as a cronjob.

Authors

Author:: Nathan Lee (nathan@globalphobia.com)

Author:: Sam Martin (samjackmartin@gmail.com)

Dependent cookbooks

ark >= 0.0.0
windows >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

snapraid CHANGELOG

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

0.4.0

Added Windows Support, upgraded default to SnapRAID v9.1

0.3.1

Features

  • Updated SnapRAID to 8.1

0.3.0

Features

Testing

  • Added functional testing with snapraid sync
  • Fixed CentOS tests
  • Added RuboCop and FoodCritic
  • Added ServerSpec tests to cover packages, files, and the cronjob

Tidiness

  • Removed usage-specific defaults

Collaborator Number Metric
            

0.4.0 failed this metric

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

Contributing File Metric
            

0.4.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.4.0 passed this metric

No Binaries Metric
            

0.4.0 passed this metric

Testing File Metric
            

0.4.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.4.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