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


webpi (20) Versions 1.1.0

Installs/Configures the Microsoft Web Platform Installer (WebPI)

cookbook 'webpi', '= 1.1.0'
cookbook 'webpi', '= 1.1.0', :supermarket
knife supermarket install webpi
knife supermarket download webpi
Quality -%


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.



  • Windows XP
  • Windows Vista
  • Windows Server 2003 R2
  • Windows 7
  • Windows Server 2008 (R1, R2)


  • windows


  • 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




  • :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 Eula’s. default is false.


# install IIS 7 Recommended Configuration
webpi_product "IIS7" do
  accept_eula true
  action :install

# install Windows PowerShell 2.0
webpi_product "PowerShell2" do
  accept_eula true
  action :install



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 and Author

Author:: Seth Chisamore (

Copyright:: 2011, Opscode, 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

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.

No quality metric results found