Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
92 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
The MIT License (MIT) | ||
Copyright © 2012 Phil Cohen <github@phlippers.net> | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the “Software”), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,52 @@ | ||
chef-mdadm | ||
========== | ||
# chef-mdadm | ||
|
||
Chef cookbook for mdadm | ||
## Description | ||
|
||
This cookbook installs [mdadm](http://neil.brown.name/git/mdadm) Management tool for Linux md/raid. | ||
|
||
## Requirements | ||
|
||
|
||
### Supported Platforms | ||
|
||
The following platforms are supported by this cookbook, meaning that the recipes run on these platforms without error: | ||
|
||
* Ubuntu | ||
* Debian | ||
|
||
|
||
## Recipes | ||
|
||
* `mdadm` - The default recipe. | ||
|
||
# Usage | ||
|
||
This cookbook installs the mdadm components if not present, and pulls updates if they are installed on the system. | ||
|
||
|
||
## Attributes | ||
|
||
None | ||
|
||
|
||
## Basic Settings | ||
|
||
None | ||
|
||
|
||
## Contributing | ||
|
||
1. Fork it | ||
2. Create your feature branch (`git checkout -b my-new-feature`) | ||
3. Commit your changes (`git commit -am 'Added some feature'`) | ||
4. Push to the branch (`git push origin my-new-feature`) | ||
5. Create new Pull Request | ||
|
||
|
||
## License | ||
|
||
**chef-mdadm** | ||
|
||
* Freely distributable and licensed under the [MIT license](http://phlipper.mit-license.org/2012/license.html). | ||
* Copyright (c) 2012 Phil Cohen (github@phlippers.net) [![endorse](http://api.coderwall.com/phlipper/endorsecount.png)](http://coderwall.com/phlipper) | ||
* http://phlippers.net/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name "mdadm" | ||
maintainer "Phil Cohen" | ||
maintainer_email "github@phlippers.net" | ||
license "MIT" | ||
description "Installs mdadm" | ||
long_description IO.read(File.join(File.dirname(__FILE__), "README.md")) | ||
version "1.0.0" | ||
|
||
recipe "mdadm", "Install mdadm" | ||
|
||
%w[debian ubuntu].each do |os| | ||
supports os | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# | ||
# Cookbook Name:: mdadm | ||
# Recipe:: default | ||
# | ||
# Copyright 2012, Phil Cohen | ||
# | ||
|
||
package "mdadm" |