cookbook 'ms_dotnet', '= 2.2.0'
ms_dotnet
(27) Versions
2.2.0
-
Follow31
Installs/Configures ms_dotnet
cookbook 'ms_dotnet', '= 2.2.0', :supermarket
knife supermarket install ms_dotnet
knife supermarket download ms_dotnet
ms_dotnet Cookbook
Install the Microsoft .NET Framework.
Requirements
This cookbook supports Chef 11.10.0+
Platforms
- Windows XP
- Windows Vista
- Windows Server 2003 R2
- Windows 7
- Windows Server 2008 (R1, R2)
- Windows 8 and 8.1
- Windows Server 2012 (R1, R2)
Cookbooks
The following cookbook is required as noted:
-
[windows](windows_cookbook) (> 1.36.1)
ms_dotnet::default
include the recipe 'windows::default'
ms_dotnet::ms_dotnet2
andms_dotnet::ms_dotnet4
leverage the windows_package LWRP
ms_dotnet::ms_dotnet2
,ms_dotnet::ms_dotnet3
andms_dotnet::ms_dotnet4
leverage the windows_feature LWRP
Attributes
ms_dotnet::ms_dotnet2
-
node['ms_dotnet']['v2']['name']
- used to configure the Windows Package name -
node['ms_dotnet']['v2']['url']
- used to configure the source of the Windows Package -
node['ms_dotnet']['v2']['checksum']
- used to configure the checksum of the Windows Package
ms_dotnet::ms_dotnet4
-
node['ms_dotnet']['v4']['version']
- used to configure the desired version of .NET4 ('4.0', '4.5', '4.5.1', '4.5.2') -
node['ms_dotnet']['versions'][desired_version][feature]['name']
- used to configure the Feature name to use instead of a Windows Package for the specifieddesired_version
-
node['ms_dotnet']['versions'][desired_version][package]['name']
- used to configure the Windows Package name for the specifieddesired_version
-
node['ms_dotnet']['versions'][desired_version][package]['url']
- used to configure the source of the Windows Package for the specifieddesired_version
-
node['ms_dotnet']['versions'][desired_version][package]['checksum']
- used to configure the checksum of the Windows Package for the specifieddesired_version
-
node['ms_dotnet']['versions'][desired_version][patch]['name']
- used to configure the Windows Package name of the patch to apply for the specifieddesired_version
-
node['ms_dotnet']['versions'][desired_version][patch]['url']
- used to configure the source of the Windows Package of the patch to apply for the specifieddesired_version
-
node['ms_dotnet']['versions'][desired_version][patch]['checksum']
- used to configure the checksum of the Windows Package of the patch to apply for the specifieddesired_version
Usage
ms_dotnet::ms_dotnet2
To install Microsoft .NET Framework 2.0 on your node, just include the recipe ms_dotnet::ms_dotnet2
in its run_list
.
You can use a custom windows package by specifing the 3 attributes specified in the above section.
ms_dotnet::ms_dotnet3
To install Microsoft .NET Framework 3.0 on your node, just include the recipe ms_dotnet::ms_dotnet3
in its run_list
.
ms_dotnet::ms_dotnet4
To install Microsoft .NET Framework 4 on your node, just include the recipe ms_dotnet::ms_dotnet4
in its run_list
.
Modify the version to install by changing the attribute node['ms_dotnet']['v4']['version']
.
Contributing
- Fork the repository on Github
- Create a named feature branch (like
add_component_x
) - Write your change
- Write tests for your change (if applicable)
- Run the tests, ensuring they all pass
- Submit a Pull Request using Github
License and Authors
Authors: Baptiste Courtois (b.courtois@criteo.com), Jeremy Mauro (j.mauro@criteo.com)
Copyright 2014-2015, Criteo. 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 http://www.apache.org/licenses/LICENSE-2.0 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.
ms_dotnet CHANGELOG
This file is used to list changes made in each version of the ms_dotnet cookbook.
2.2.0
- b.courtois - Do not use the windows_reboot resource and its request action. 2.1.1 -----
- b.courtois - Update constraint to leverage windows cookbook >=1.36.1 2.1.0 -----
- b.courtois - Fix .NET4.5 support on windows 7/Server 2008R2 2.0.0 -----
- b.courtois - Fail chef run when an invalid .NET4 version is specified
- b.courtois - Better support of recents windows version for .NET4
- b.courtois - Add ms_dotnet3 recipe
- b.courtois - Fix ms_dotnet2 recipe and stop to use ms_dotnet2 attributes 1.2.0 -----
- b.courtois - Fail chef run when an invalid .NET4 version is specified 1.1.0 -----
- b.courtois - Fix attributes computation 1.0.0 -----
- b.courtois - Merge recipes ms_dotnet4 and ms_dotnet45
- b.courtois - Add basic support for Server 2012 & 2012R2 0.2.0 -----
- b.courtois - include default recipe on msdotnet2 core install 0.1.0 -----
- j.mauro - Initial release of ms_dotnet
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
2.2.0 passed this metric
2.2.0 passed this metric