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


dnsimple (29) Versions 0.4.0

Provides Chef Resource for automating DNS configuration with DNSimple

cookbook 'dnsimple', '= 0.4.0'
cookbook 'dnsimple', '= 0.4.0', :supermarket
knife supermarket install dnsimple
knife supermarket download dnsimple
Quality -%


A Light-weight Resource and Provider (LWRP) supporting automatic DNS configuration via DNSimple's API.


  • Convert README to markdown so it is displayed nice on Community site.
  • Add default action :create for dnsimple_record.
  • Set values that type can be equal to in dnsimple_record resource.


A DNSimple account at


All attributes are nil, or false by default.

  • node[:dnsimple][:username]: Your DNSimple login username.
  • node[:dnsimple][:password]: Your DNSimple login password.
  • node[:dnsimple][:domain]: The domain that this node should use.
  • node[:dnsimple][:test]: Unused at this time.



Manage a DNS resource record through the DNSimple API. This LWRP uses the fog Ruby library to connect and use the API.


| Action    | Description          | Default |
| *create*  | Create the record.   | Yes     |
| *destroy* | Destroy the record.  |         |

Parameter Attributes:

The type of record can be one of the following: A, CNAME, ALIAS, MX, SPF, URL, TXT, NS, SRV, NAPTR, PTR, AAA, SSHFP, or HFINO.

| Parameter  | Description                | Default |
| *domain*   | Domain to manage           |         |
| *name*     | _Name_: Name of the record |         |
| *type*     | Type of DNS record         |         |
| *content*  | String content of record   |         |
| *ttl*      | Time to live.              | 3600    |
| *priority* | Priorty of update          |         |
| *username* | DNSimple username          |         |
| *password* | DNSimple password          |         |
| *test*     | Unused at this time        | false   |


dnsimple_record "create an A record" do
  name     "test"
  content  ""
  type     "A"
  domain   node[:dnsimple][:domain]
  username node[:dnsimple][:username]
  password node[:dnsimple][:password]
  action   :create

dnsimple_record "create a CNAME record for a Google Apps site calendar" do
  name     "calendar"
  content  ""
  type     "CNAME"
  domain   node[:dnsimple][:domain]
  username node[:dnsimple][:username]
  password node[:dnsimple][:password]
  action   :create


Add the the dnsimple recipe to a node's run list, or with include_recipe to install the fog gem, which is used to interact with the DNSimple API. See examples of the LWRP usage above.

License and Author

Author:: Darrin Eden ( Author:: Joshua Timberman (

Copyright:: 2010-2011 Heavy Water Software

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.

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

generic_dns Applicable Versions

No quality metric results found