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

RSS

storage (16) Versions 2.2.0

Installs/Configures storage

Berkshelf/Librarian
Policyfile
Knife
cookbook 'storage', '= 2.2.0'
cookbook 'storage', '= 2.2.0', :supermarket
knife cookbook site install storage
knife cookbook site download storage
README
Dependencies
Changelog
Quality 0%

storage-cookbook

Cookbook Version Build Status Coverage Status

A cookbook for mounting all available EC2 ephemeral volumes and saving their respective mount points into node attributes.

Supported Platforms

EC2 only (but it will fail cleanly on other platforms).

Attributes

<table> <tr> <th>Key</th> <th>Type</th> <th>Description</th> <th>Default</th> </tr> <tr> <td><tt>['storage']['ephemeral_mounts']</tt></td> <td>Array</td> <td>An array of strings, set automatically by the recipe, to be used by other cookbooks, which lists the mount points of ephemeral storage devices.</td> <td><tt>automatic</tt></td> </tr> </table>

Usage

storage::default

Include storage in a wrapper cookbook:

include_recipe 'storage::default'

...or include storage in your node's run_list:

{
  "run_list": [
    "recipe[storage::default]"
  ]
}

Contributing

  1. Fork the repository on Github
  2. Create a named feature branch (i.e. add-new-recipe)
  3. Write you change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request

License and Authors

Author:: EverTrue, Inc. (eric.herot@evertrue.com)

storage CHANGELOG

v2.2.0 (2014-12-08)

  • Add testing on Ubuntu 14.04
  • Switch to open source license
  • Update for Serverspec v2
  • Clean up config & other misc. files

v2.1.8 (2014-09-08)

  • Fix the way we deal with a lack of anything to mount and don't blow up when not on ec2
  • Test local vagrant storage provisioning (so that wrapper cookbooks stop choking on our crappy code)
  • Bump the AMI to a newer version

v2.1.7 (2014-09-08)

  • Update to et_fog v1.1.1 to avoid issues with apt-get update & installing build-essential at compile time

v2.1.6 (2014-08-05)

  • Confirm (using Fog) that the current instance flavor has instance storage

v2.1.5 (2014-07-30)

  • Disable /mnt mount (instead of just unmounting it) and enable the new mounts

v2.1.4 (2014-07-28)

  • Populate ephemeral_mounts attribute even if /mnt/dev is already mounted

v2.1.3 (2014-07-17)

  • Use /proc/mounts (rather than node attributes) to see if we need to run
  • Fix method reference error in vagrant support

v2.1.2 (2014-07-01)

  • s/ephemeral1/ephemeral0/ in library this time

v2.1.1 (2014-06-30)

  • Look for ephemeral0 in ec2 attributes

v2.1.0 (2014-06-26)

  • Fixed error making it impossible to converge twice
  • Move format-mount to a resource
  • Library-ify a bunch of small functions

v2.0.2 (2014-06-26)

  • Add some real content to the README
  • Handle NPE by only printing mounts if there are any

v2.0.1 (2014-06-25)

  • Do umount during precompile phase

v2.0.0 (2014-05-06)

  • Add vagrant support

v1.0.1 (2014-05-05)

  • Initial release

Foodcritic Metric
            

2.2.0 failed this metric

FC002: Avoid string interpolation where not required: /tmp/cook/6694f454501800a2f9574656/storage/providers/format_mount.rb:6
FC016: LWRP does not declare a default action: /tmp/cook/6694f454501800a2f9574656/storage/resources/format_mount.rb:1
FC031: Cookbook without metadata file: /tmp/cook/6694f454501800a2f9574656/storage/metadata.rb:1
FC045: Consider setting cookbook name in metadata: /tmp/cook/6694f454501800a2f9574656/storage/metadata.rb:1