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

Select Status

RSS

vs-2008 (10) Versions 1.0.5

Installs/Configures Visual Studio 2008

Policyfile
Berkshelf
Knife
cookbook 'vs-2008', '= 1.0.5', :supermarket
cookbook 'vs-2008', '= 1.0.5'
knife supermarket install vs-2008
knife supermarket download vs-2008
README
Dependencies
Quality 0%

Description

Installs and configures Visual Studio 2008 + SP1.

This includes all features of Visual Studio 2008 including the 64-bit C++ compiler. The default Visual Studio 2008 installer does not enable the 64-bit C++ compiler installation. The "/full" option used here would enable 64-bit compile to install. No Documentation is installed.

For some reason, the custom INI file for the silent install fails to launch on Windows 8.1/Server 2012 R2 due to dependencies. However, it launches fine if we don't use an INI file and use the "/full" option. :(

I added a registry key to disable the Windows compatibility popup for SQL 2005 install since it is not supported on Windows 8.1/Server 2012 R2.

Our purpose was to run server configuration automation inside a corporate firewall with no internet connection for security reason. :(

Please see usage below for more details.

This takes about 35 minutes to run on my machine since it downloads the ISO, unzips it to a local path and then runs the install. The ISOs are immediately deleted after a successful run. I tried running mount-diskimage for the ISO (available in Windows 8.1/2012 R2 or newer) to save time from the unzip proces. However, it kept crashing on dismount-diskimage of the ISO in order for me to delete it. :(

Requirements

Platform

  • Windows with Chef client 11.14.2

Tested on:

  • Windows Server 2012 R2
  • Windows 8.1

Cookbooks

  • Windows
  • 7-zip
  • ms_dotnet35 (.net 3.5 must be enabled on Windows 8.1/2012 R2)

Resources and Providers

<Any Resources Or Providers Here>

Attributes

Usage

The allowed us to serve the ISO, EXE, ZIP, MSI, etc... from an internal HTTP site. The HTTP is better than using Windows NTFS network file share since we don'tt have specify any user/password credentials.

Please view sample role file "sample.role.vs2008-professional-x14-26326.rb" for better understanding.

License and Author

Author:: Yeung Siu (yeung.siu@citrix.com)
Contributors: Raymond Loiseau (ray6568@yahoo.com)

Copyright:: 2015 Citrix Systems, Inc.

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.

Dependent cookbooks

ms_dotnet35 >= 1.0.1
windows >= 1.34.6
seven_zip >= 1.0.3

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Foodcritic Metric
            

1.0.5 failed this metric

FC002: Avoid string interpolation where not required: /tmp/cook/c2f57b598428238c383c5aee/vs-2008/recipes/default.rb:63
FC002: Avoid string interpolation where not required: /tmp/cook/c2f57b598428238c383c5aee/vs-2008/recipes/default.rb:64
FC002: Avoid string interpolation where not required: /tmp/cook/c2f57b598428238c383c5aee/vs-2008/recipes/default.rb:98
FC002: Avoid string interpolation where not required: /tmp/cook/c2f57b598428238c383c5aee/vs-2008/recipes/default.rb:99
FC002: Avoid string interpolation where not required: /tmp/cook/c2f57b598428238c383c5aee/vs-2008/recipes/default.rb:111
FC002: Avoid string interpolation where not required: /tmp/cook/c2f57b598428238c383c5aee/vs-2008/recipes/default.rb:118