cookbook 'snapraid', '~> 0.4.0'
snapraid (5) Versions 0.4.0 Follow1
Installs/Configures snapraid
cookbook 'snapraid', '~> 0.4.0', :supermarket
knife supermarket install snapraid
knife supermarket download snapraid
SnapRAID cookbook
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
- Updated SnapRAID to 7.1
- Parameterised SnapRAID version
- Added support for Chronial's snapraid-runner as an optional cronjob
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
0.4.0 failed this 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
0.4.0 passed this 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
0.4.0 failed this 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