Skip to content

yeungs/ms_dotnet

 
 

Repository files navigation

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

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 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.

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.

About

Chef Cookbook to install Microsoft .NET

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%