cookbook 'dotnetframework', '= 1.2.0'
dotnetframework (6) Versions 1.2.0 Follow8
Installs/Configures .NET Framework
cookbook 'dotnetframework', '= 1.2.0', :supermarket
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', '4.6.1'.
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.2.0
- .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.
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.
Collaborator Number Metric
1.2.0 passed this metric
Contributing File Metric
1.2.0 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 https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
1.2.0 failed this metric
FC009: Resource attribute not recognised: dotnetframework/providers/version.rb:36
FC064: Ensure issues_url is set in metadata: dotnetframework/metadata.rb:1
FC065: Ensure source_url is set in metadata: dotnetframework/metadata.rb:1
FC066: Ensure chef_version is set in metadata: dotnetframework/metadata.rb:1
Run with Foodcritic Version 13.0.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
License Metric
1.2.0 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
1.2.0 passed this metric
Testing File Metric
1.2.0 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 https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.2.0 passed this metric
1.2.0 passed this metric
1.2.0 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 https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file
Foodcritic Metric
1.2.0 failed this metric
FC009: Resource attribute not recognised: dotnetframework/providers/version.rb:36
FC064: Ensure issues_url is set in metadata: dotnetframework/metadata.rb:1
FC065: Ensure source_url is set in metadata: dotnetframework/metadata.rb:1
FC066: Ensure chef_version is set in metadata: dotnetframework/metadata.rb:1
Run with Foodcritic Version 13.0.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
License Metric
1.2.0 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
1.2.0 passed this metric
Testing File Metric
1.2.0 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 https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.2.0 passed this metric
1.2.0 failed this metric
FC064: Ensure issues_url is set in metadata: dotnetframework/metadata.rb:1
FC065: Ensure source_url is set in metadata: dotnetframework/metadata.rb:1
FC066: Ensure chef_version is set in metadata: dotnetframework/metadata.rb:1
Run with Foodcritic Version 13.0.0 with tags metadata,correctness ~FC031 ~FC045 and failure tags any
1.2.0 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
1.2.0 passed this metric
Testing File Metric
1.2.0 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 https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.2.0 passed this metric
1.2.0 passed this metric
1.2.0 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 https://github.com/user/repo, and your repo must contain a TESTING.md file
Version Tag Metric
1.2.0 passed this metric
1.2.0 passed this metric