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

RSS

ms_dotnet (21) Versions 2.6.1

Installs/Configures ms_dotnet

Berkshelf/Librarian
Policyfile
Knife
cookbook 'ms_dotnet', '= 2.6.1'
cookbook 'ms_dotnet', '= 2.6.1', :supermarket
knife cookbook site install ms_dotnet
knife cookbook site download ms_dotnet
README
Dependencies
Changelog
Quality 100%

ms_dotnet Cookbook

Cookbook Version Build Status

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 (> 1.36.1)

    ms_dotnet::default include the recipe 'windows::default' ms_dotnet::ms_dotnet2 and ms_dotnet::ms_dotnet4 leverage the windows_package LWRP ms_dotnet::ms_dotnet2, ms_dotnet::ms_dotnet3 and ms_dotnet::ms_dotnet4 leverage the windows_feature LWRP

Known Issues

Here are the known issues you can encounter with ms_dotnet recipes: * "Access denied" error on windows_package when running chef via WinRM * Cause: winrm limitation * Common environment: knife windows bootstrap, chef-provisioning, test-kitchen * Best solution: your remoting system should try to simulate a local session (psexec or schedule task) * Other solution: create your custom wrapper to simulate a local session

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_dotnet3

  • node['ms_dotnet']['v3']['enable_all_features'] - enable all parent features when installing NetFx3 (only supported on NT Version 6.2 or newer, default to true)
  • node['ms_dotnet']['v3']['source'] - used to configure the source of the Windows Package (only supported on NT Version 6.2 or newer)

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 specified desired_version
  • node['ms_dotnet']['versions'][desired_version][package]['name'] - used to configure the Windows Package name for the specified desired_version
  • node['ms_dotnet']['versions'][desired_version][package]['url'] - used to configure the source of the Windows Package for the specified desired_version
  • node['ms_dotnet']['versions'][desired_version][package]['checksum'] - used to configure the checksum of the Windows Package for the specified desired_version
  • node['ms_dotnet']['versions'][desired_version][patch]['name'] - used to configure the Windows Package name of the patch to apply for the specified desired_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 specified desired_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 specified desired_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.

NB: Starting with NT Version 6.2 (Windows 8/2012) .NET 3 is an on demand feature. Meaning that you need either to use the installing media or a custom windows image to enable the feature. See: http://msdn.microsoft.com/library/hh506443

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

  1. Fork the repository on Github
  2. Create a named feature branch (like add_component_x)
  3. Write your change
  4. Write tests for your change (if applicable)
  5. Run the tests, ensuring they all pass
  6. 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.6.1

  • kamaradclimber - Define Windows::VersionHelper::ProductType constants only once

2.6.0

  • b.courtois - Use version helper everywhere to remove references to Win32::Version
  • b.courtois - Add new helper to retrieve windows version info from ohai
  • b.courtois - Use NetFx3ServerFeatures instead of NetFx3 for .NET3.5

2.5.1

  • b.courtois - Trust windows_feature behavior in recipe ms_dotnet3

2.5.0

  • b.courtois - Supports custom source for .Net 3.5 install
  • b.courtois - Use travis container-based infrastructure
  • b.courtois - Use travis bundler caching
  • b.courtois - Don't test agains ruby 1.9.3 anymore

2.4.0

  • Y.Siu - Support .Net3.5 on Windows 8.1 and Server 2012R2.

2.3.0

  • b.courtois - Register aspnet to iis once and only if ISS is present.

2.2.1

  • minkaotic - Fix .NET 3.5 install guard clause.

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

Foodcritic Metric
            

2.6.1 passed this metric