Skip to content
Browse files

add initial recipe

  • Loading branch information...
1 parent 073a1d1 commit 8f4e9c8cdc7f1a3b17999d19372ff2139fdb9743 @phlipper committed May 3, 2012
Showing with 92 additions and 3 deletions.
  1. +20 −0 LICENSE.txt
  2. +51 −3 README.md
  3. +13 −0 metadata.rb
  4. +8 −0 recipes/default.rb
View
20 LICENSE.txt
@@ -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.
View
54 README.md
@@ -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/
View
13 metadata.rb
@@ -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
View
8 recipes/default.rb
@@ -0,0 +1,8 @@
+#
+# Cookbook Name:: mdadm
+# Recipe:: default
+#
+# Copyright 2012, Phil Cohen
+#
+
+package "mdadm"

0 comments on commit 8f4e9c8

Please sign in to comment.
Something went wrong with that request. Please try again.