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


dotnetframework (6) Versions 0.0.1

Installs/Configures .NET Framework

cookbook 'dotnetframework', '= 0.0.1'
cookbook 'dotnetframework', '= 0.0.1', :supermarket
knife supermarket install dotnetframework
knife supermarket download dotnetframework
Quality 60%

Dotnetframework cookbook

Installs and configures the .NET framework 4, 4.5, 4.5.1, 4.5.2, or 4.6 runtime


Tested on Windows Server 2008 R2 and Windows Server 2012R2. The selected .NET runtime should work on versions of Windows supported by the associated .NET installer.

  • Windows 2008
  • Windows 2008 R2
  • Windows 2012
  • Windows 2012 R2


Include the default recipe in your run list. The default recipe will install the specified .NET framework version.



  • node['dotnetframework']['version'] - defaults to '4.5.2' Acceptable values: '4.0', '4.5', '4.5.1', '4.5.2', '4.6', '4.6.1', '4.6.2'.



Installs the .NET Framework.


This recipe register .NET with IIS so that IIS can host .NET application associated with the specified intalled .NET version. This recipe currently does not support Windows 2012 or higher. For Windows 2012 or newer its recommended that you use the IIS cookbook to register the .NET version.


You can include the mini-tests in your runlist to verify .NET was successfully installed, however .NET will not work until you reboot.

.NET 4.6 minitests will fail until you reboot, so its best to run Chef with only dotnetframework in your runlist, reboot, then include dotnetframework again with the minitest-handler.


  • Install .NET using the windows_feature resource if the current OS supports it.
  • Support older versions of .NET < 4.0.
  • Support installation over WinRM (i.e. native scheduled task support).
  • Abstract .NET installation to a Chef resource.


Author:: Shawn Neal (

Dependent cookbooks

windows >= 1.2.6

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

CHANGELOG for dotnetframework

This file is used to list changes made in each version of dotnetframework.


  • ChefDK 2.5.3 rubocop and foodcritic updates
  • Remove node.set for Chef 13 compatiblity


  • .NET 4.6.1 support
  • Installation is skipped if a newer .NET version is already installed.
  • Mini-tests do not fail if a newer .NET version is already installed.


  • Fixed .NET framework idempotence to avoid constant reboots
  • Added dotnetframework_version LWRP


  • Initial version released on Supermarket.

Check the Markdown Syntax Guide for help with Markdown.

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

Foodcritic Metric

0.0.1 passed this metric

License Metric

0.0.1 failed this metric

dotnetframework does not have a valid open source license.
Acceptable licenses include Apache-2.0, apachev2, Apache 2.0, MIT, mit, GPL-2.0, gplv2, GNU Public License 2.0, GPL-3.0, gplv3, GNU Public License 3.0.

No Binaries Metric

0.0.1 passed this metric

Supported Platforms Metric

0.0.1 passed this metric

Version Tag Metric

0.0.1 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of, and your repo must include a tag that matches this cookbook version number