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


hostname (11) Versions 0.1.0

Configures hostname and FQDN

cookbook 'hostname', '= 0.1.0', :supermarket
cookbook 'hostname', '= 0.1.0'
knife supermarket install hostname
knife supermarket download hostname
Quality -%


Sets hostname and FQDN of the node.


set_fqdn - FQDN to set.

The asterisk character will be replaced with This way,
you can add to base role this:

default_attributes :set_fqdn => '*'

and have node set its FQDN and hostname based on its chef node name
(which is provided on chef-client first run's command line).



Will set node's FQDN to value of set_fqdn attribute, and hostname to
its host part (up to first dot).


hostname::vmware recipe sets hostname automatically using vmtoolsd.
You do not need to set node["set_fqdn"].

The latest code is hosted at

No quality metric results found