cookbook 'dotnetframework', '= 1.1.0', :supermarket
dotnetframework (6) Versions 1.1.0 Follow8
Installs/Configures .NET Framework
cookbook 'dotnetframework', '= 1.1.0'
knife supermarket install dotnetframework
knife supermarket download dotnetframework
Dotnetframework cookbook
Installs and configures the .NET framework 4, 4.5, 4.5.1, 4.5.2, or 4.6 runtime
Requirements
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 2008 R2
Usage
Include the default recipe in your run list. The default recipe will install the specified .NET framework version.
Attributes
default
-
node['dotnetframework']['version']
- defaults to '4.5.2' Acceptable values: '4.0', '4.5', '4.5.1', '4.5.2', '4.6'.
Recipes
default
Installs the .NET Framework.
regiis
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.
mini-tests
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.
TODO
- 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
Author:: Shawn Neal (sneal@sneal.net)
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.
1.1.0
- Fixed .NET framework idempotence to avoid constant reboots
- Added dotnetframework_version LWRP
1.0.0:
- 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
1.1.0 failed this metric
FC009: Resource attribute not recognised: /tmp/cook/f7d9920701e313f62514fd04/dotnetframework/providers/version.rb:37
1.1.0 failed this metric