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


autofs (19) Versions 1.0.0

Installs/Configures autofs Server

cookbook 'autofs', '= 1.0.0'
cookbook 'autofs', '= 1.0.0', :supermarket
knife supermarket install autofs
knife supermarket download autofs
Quality 0%

Stories in Ready

AutoFS Cookbook


The AutoFS cookbook is a library cookbook that provides resource primitives for use in recipes.


This cookbook configures clients that use autofs See:

This cookbook does not concern itself with managing an NFS server.


  • Chef 12 or higher
  • Ruby 1.9 or higher (preferably from the Chef full-stack installer)
  • Network accessible package repositories


  • Debian, Ubuntu
  • CentOS, Red Hat



Add entries directly to auto.master automaster_entry '/smb', '/etc/auto.smb' do options '--timeout 600' end

Add entries to custom autofs map file map_entry 'homes' do location '://smb-server:directory' fstype 'smb' options 'rw' map '/etc/auto.smb' end

Nfs resource with default entries for map & auto.master nfs '/mnt/nfs' do server 'nfsserver' export '/example/remote_path/' options 'sync' end

License and Author

Copyright: 2015, University of Derby

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.


v0.2.2 (2015-03-12) Bugs #4 & #5 fixed and small amount of rubocop.

v0.2.0 (2015-02-27) Refactored entire cookbook to a resource model.

This now uses the resource cookbook which is currently under active development.

Cookbook now supports less platforms as there are currently no tests for SmartOS and Solaris2. If you would like support for these platform, please submit a PR respective tests.

Foodcritic Metric

1.0.0 failed this metric

FC031: Cookbook without metadata file: /tmp/cook/a44164f2b3a806cb34c70c70/autofs/metadata.rb:1
FC045: Consider setting cookbook name in metadata: /tmp/cook/a44164f2b3a806cb34c70c70/autofs/metadata.rb:1