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


efs (9) Versions 1.0.1

Installs/Configures Amazon Elastic Filesystem mounts

cookbook 'efs', '= 1.0.1', :supermarket
cookbook 'efs', '= 1.0.1'
knife supermarket install efs
knife supermarket download efs
Quality 83%

efs Cookbook

Cookbook to mount Elastic Filesystem endpoints in Amazon Web Services.

You just configure global defaults (presently the recommended values from Amazon) and individual mounts through node attributes. You also have the option of using the mount_efs resource within your own recipes.


  • NFS


  • Ubuntu 16.04
  • Centos 7.2
  • RHEL 7.2
  • Debian (untested)



<td>hash of hashes</td>
<td>Keys are mount point paths, values can be any of the keys below. The <tt>fsid</tt> key is required. Any other optional keys will use global defaults from the attributes below.</td>
<td><tt>['efs']['mounts'][mount point]['fsid']</tt></td>
<td>string (required)</td>
<td>FSID of the Elastic Filesystem (e.g. fs-1234abcd)</td>
<td><tt>['efs']['mounts'][mount point]['region']</tt></td>
<td>Override AWS region for the mount</td>
<td>derived from node['ec2']['placement_availability_zone']</td>
<td><tt>['efs']['mounts'][mount point]['options']</tt></td>
<td>Override mount options string</td>
<td>generated from attributes of mount and global below</td>
<td>maximum read size in bytes</td>
<td>maximum write size in bytes</td>
<td>timeout between retries in deciseconds</td>
<td>number of retries before further action</td>
<td>determines timeout behavior (hard or soft)</td>
<td>Unmount and remove any EFS mount in fstab that is not specified by <tt>['efs']['mounts']</tt></td>



Configure any desired mounts under node['efs']['mounts'] and include efs in your node's run_list:

  "run_list": [


This cookbook is implemented with a custom resource so you can use mount_efs in your cookbook recipes as well with the same available attributes as the node['efs']['mounts'] structure.


  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. Submit a Pull Request using Github

License and Authors

Authors: Matt Kulka

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.



  • [mattlqx] - Fix resource not converging if fstab line exists but not mounted.


  • [mattlqx] - Moved implementation to library, wrappered by resource and recipe.


  • [mattlqx] - Gate more metadata for older Chef 11 delivery.


  • [mattlqx] - Add supporting docs recommended by Supermarket.


  • [mattlqx] - Add unit tests
  • [mattlqx] - Relocate ruby_block logic to library function
  • [mattlqx] - Add Travis CI


  • [mattlqx] - Metadata tweaks


  • [mattlqx] - Initial release of efs

Check the Markdown Syntax Guide for help with Markdown.

The Github Flavored Markdown page describes the differences between markdown on github and standard markdown.

Collaborator Number Metric

1.0.1 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric

1.0.1 passed this metric

Foodcritic Metric

1.0.1 passed this metric

No Binaries Metric

1.0.1 passed this metric

Testing File Metric

1.0.1 passed this metric

Version Tag Metric

1.0.1 passed this metric