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


google-authenticator (3) Versions 0.1.4

Installs/Configures google-authenticator

cookbook 'google-authenticator', '= 0.1.4', :supermarket
cookbook 'google-authenticator', '= 0.1.4'
knife supermarket install google-authenticator
knife supermarket download google-authenticator
Quality -%

google-authenticator Cookbook

Installs google-authenticator.


This requires the opencode-openssh, which can be found here:

This has been tested on Fedora 19. It may work on other Linux distributions.



<td>Google authenticator package</td>
<td>location of sshd pam module</td>


Just include google-authenticator in your node's run_list, along with opscode's openssh:

  "run_list": [

Then override the server attribute for openssh with:


You may also override ['google-authenticator']['sshd_pamd_'] attribute if the location is different.

Note that this cookbook makes a changes on the pam file through the use of Chef::Util::FileEdit:insert_line_if_no_match(). If you are running a version of Chef client earlier than 10.16.x, this cookbook may not work.

More information on setting up Google Authenticator can be found at this URL:


If you want to contribute.

  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write your change
  4. Submit a Pull Request using Github

License and Authors

Authors: Rilindo Foster

Dependent cookbooks

openssh >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

No quality metric results found