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

webpi (19) Versions 4.1.0

Installs/Configures the Microsoft Web Platform Installer (WebPI)

Berkshelf/Librarian
Policyfile
Knife
cookbook 'webpi', '= 4.1.0'
cookbook 'webpi', '= 4.1.0', :supermarket
knife cookbook site install webpi
knife cookbook site download webpi
README
Dependencies
Changelog
Quality 86%

webpi Cookbook

Build status Cookbook Version

Microsoft Web Platform Installer (WebPI) automates the installation of Microsoft's entire Web Platform. This cookbook makes it easy to get WebpiCmdLine.exe the lightweight CLI version of WebPI onto a Windows node. It also exposes a resource for installing WebPI products idempotently.

Requirements

Platforms

  • Windows 7
  • Windows Server 2008 R2
  • Windows 8, 8.1
  • Windows Server 2012 (R1, R2)

Chef

  • Chef 12.6+

Cookbooks

  • windows 2.0+

Attributes

  • node['webpi']['home'] - location to install WebPI files to. Default is %SYSTEMDRIVE%\webpi
  • node['webpi']['url'] - Path to download webpi zip.
  • node['webpi']['xmlpath'] - Optional path to custom xml file.
  • node['webpi']['install_method'] - Method of installing webpi via msi or zip. Default is msi.
  • node['webpi']['msi'] - Location of msi file to use.
  • node['webpi']['msi_package_name'] - Windows package name, found in registry, for msi. Defaults to "Microsoft Web Platform Installer 4.5"

Resource/Provider

webpi_product

Actions

  • :install: install a product using WebpiCmdLine

Attribute Parameters

  • product_id: name attribute. Specifies the ID of a product to install.
  • accept_eula: specifies that WebpiCmdline should auto-accept EULAs. Default is false.
  • returns: specifies the return value(s) expected for a successful installation. Can be a single integer or array of integers. Default is [0, 42]

Examples

Install IIS 7 Recommended Configuration (will install IIS 8 on Windows 2012 despite the name)

webpi_product 'IIS7' do
  accept_eula true
  action :install
end

Install Windows PowerShell 2.0

webpi_product 'PowerShell2' do
  accept_eula true
  action :install
end

Install Windows Azure Powershell 1.0 (will return a 3010 exit code to signify a successful installation that requires a reboot)

webpi_product 'WindowsAzurePowerShellGet' do
  accept_eula true
  action :install
  returns 3010
end

Usage

default

Downloads and unzips WebpiCmdLine.exe to the location specified by node['webpi']['home']. WebpiCmdLine.exe is used required by the webpi_product LWRP for taking all actions.

License & Authors

Author: Cookbook Engineering Team (cookbooks@chef.io)

Copyright: 2011-2016, Chef Software, 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.

webpi Cookbook CHANGELOG

This file is used to list changes made in each version of the webpi cookbook.

4.1.0 (2017-03-20)

  • Test with Local Delivery instead of Rake
  • Require windows 2.0 or later

4.0.0 (2017-02-18)

  • Use package vs. windows_package resource which increases the requirement to Chef 12.6+

3.1.0 (2016-12-27)

  • add returns argument to webpi_product resource
  • Update the minimum chef requirement to 12.1 from 12.0

3.0.0 (2016-09-06)

  • Remove support for Chef 11

2.1.0 (2016-09-01)

  • Resolve rubocop warnings
  • Add use_inline_resources to the provider
  • Add chef_version metadata
  • Testing updates

v2.0.0 (2016-01-04)

  • Install WebPI 5.0 by default
  • Fix runs on Chef 11 systems

v1.2.9 (2015-12-30)

Improvement

  • Modernization of cookbook supporting travis ci, kitchen convergence testing, style checking and foodcritic rule compliance
  • Removed unnecessary includes of the default recipe in the windows cookbook to eliminate warnings

v1.2.8 (2014-02-14)

Bug

  • COOK-3832 - install-msi recipe should leverage chef cache

v1.2.6

  • [COOK-3372] - unzip webpi if webpi executable doesn't exist

v1.2.4

Improvement

  • COOK-3474 - Upgrade WebPI (4.5 no longer exists)

v1.2.2

Improvement

  • [COOK-2719]: update webpi documentation to show that Windows 2012
  • and Windows 8 are supported

v1.2.0

  • [COOK-2298] - webpi will not install anything due to logic bug
  • [COOK-1270] - webpi creates logs with timestamps in the name
  • cluttering c:\
  • [COOK-2438] - WebPI should use an attribute for MSI package name
  • [COOK-2452] - WebPI should check comma separated string of
  • components to determine which to install if any

v1.1.0

  • [COOK-1251] - Fix LWRP "NotImplementedError"
  • [COOK-1726, COOK-1760] - Upgrade to webpi version 4

v1.0.4

  • Created the ability to use the XML parameter for custom xml files.

v1.0.2

  • Ruby 1.9 compat fixes
  • don't unzip if files already exist

v1.0.0

  • initial release

Collaborator Number Metric
            

4.1.0 passed this metric

Contributing File Metric
            

4.1.0 passed this metric

Foodcritic Metric
            

4.1.0 passed this metric

License Metric
            

4.1.0 failed this metric

webpi does not have a valid open source license.
Acceptable licenses include Apache 2.0, apachev2, MIT, mit, GNU Public License 2.0, gplv2, GNU Public License 3.0, gplv3.

Publish Metric
            

4.1.0 passed this metric

Supported Platforms Metric
            

4.1.0 passed this metric

Testing File Metric
            

4.1.0 passed this metric