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

storage (21) Versions 2.1.7

Installs/Configures storage

Policyfile
Berkshelf
Knife
cookbook 'storage', '= 2.1.7', :supermarket
cookbook 'storage', '= 2.1.7'
knife supermarket install storage
knife supermarket 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)

2.1.7

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

2.1.6

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

2.1.5

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

2.1.4

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

2.1.3

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

2.1.2

  • s/ephemeral1/ephemeral0/ in library this time

2.1.1

  • Look for ephemeral0 in ec2 attributes

2.1.0

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

2.0.2

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

2.0.1

  • Do umount during precompile phase

2.0.0

  • Add vagrant support

1.0.1

  • Initial release

Foodcritic Metric
            

2.1.7 failed this metric

FC002: Avoid string interpolation where not required: /tmp/cook/45d1a33795f3d00b6be95510/storage/providers/format_mount.rb:6
FC016: LWRP does not declare a default action: /tmp/cook/45d1a33795f3d00b6be95510/storage/resources/format_mount.rb:1
FC023: Prefer conditional attributes: /tmp/cook/45d1a33795f3d00b6be95510/storage/recipes/default.rb:40