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

The webdeploymenttoolkit cookbook has been deprecated

Author provided reason for deprecation:

The webdeploymenttoolkit cookbook has been deprecated and is no longer being maintained by its authors. Use of the webdeploymenttoolkit cookbook is no longer recommended.

RSS

webdeploymenttoolkit (11) Versions 0.1.10

Installs/Configures webdeploymenttoolkit

Policyfile
Berkshelf
Knife
cookbook 'webdeploymenttoolkit', '~> 0.1.10', :supermarket
cookbook 'webdeploymenttoolkit', '~> 0.1.10'
knife supermarket install webdeploymenttoolkit
knife supermarket download webdeploymenttoolkit
README
Dependencies
Quality 33%

Windows Web Deployment Toolkit Cookbook

Provides a set of Windows-specific primitives (Chef resources) meant to aid in the creation of cookbooks/recipes for .net applications targeting the Windows platform.

Requirements

Tested Platforms

  • Windows Server 2012 (R2)

Cookbooks

The following cookbooks provided by Chef Software are required as noted:

  • webpi (webdeploymenttoolkit::default leverages the webpi_product LWRP)

Attributes

  • node['webdeploymenttoolkit']['WebDeployExe'] - used to execute the msdeploy.exe. default is %programfiles%\IIS\Microsoft Web Deploy V3\msdeploy.exe or %programfiles%\IIS\Microsoft Web Deploy V2\msdeploy.exe.

Resource/Provider

web_deploy

Not idempotent. Executes MsDeploy to sync packages, change settings, load packages into the IIS Server from a file, and performs any operations specified by the package.
See the following links for MSDN Documentation on it's use.
Web Deploy Operations: https://technet.microsoft.com/en-us/library/dd568989%28v=ws.10%29.aspx
Web Deploy Providers: https://technet.microsoft.com/en-us/library/dd569040%28v=ws.10%29.aspx

Actions

  • :sync: Default. Syncs a deployment package to a target.
  • :delete: Deletes components targeted in the dest parameter
  • :dump: Runs the dump command with the xml flag. The dest is used to dump the output content
  • :getDependencies: Dumps application dependencies
  • :getSystemInfo: Dumps System information

Attribute Parameters

  • source: name attribute. The source string as defined to a to the web deploy command line.
  • dest: the destination string as defined to a to the web deploy command line.
  • parameters: hash table of parameters and values that should be passed to msdeploy.
  • param_file: string path to a parameter file.
  • pre_sync: string to include a pre sync operation.
  • post_sync: string to include a post sync operation.
  • skip: array of values that should be passed to msdeploy's skip command.
  • disable_link: array values that should be passed to msdeploy's disableLink command.
  • enable_rule: array of values that should be passed to msdeploy's enableRule command.

Examples

# Restore a Web Deploy Package
web_deploy "package=c:\dws.zip" do
    dest  'apphostconfig="Default Web Site"'
    action  :sync
end
# Backup a Website to Web Deploy Package
web_deploy 'apphostconfig="Default Web Site"' do
    store_name  "package=c:\dws.zip"
    action  :sync
end
# Deploy a Packaged Application with parameters
web_deploy 'package=c:\packagedApp.zip' do
    dest  'auto'
    parameters  ({ "IIS Web Application Name" => "Default Web Site/app", "connectionString" => "Database=stuff;user=me;pass=thing" })
    action  :sync
end
# Remove OldApp1 application
web_deploy "DeleteOldApp1" do
    dest  'apphostconfig="MySite/OldApp1"'
    action :delete
end
# Remove OldApp1 application
web_deploy "appPoolConfig" do
    dest  'C:/output/dump.xml'
    action :dump
end
# Export Server Dependencies
web_deploy "webServer" do
    dest  'C:/output/WebServerDependencies.xml'
    action :getDependencies
end
# Export System Info
web_deploy "webServerSystemInfo" do
    source  'webServer'
    dest  'C:/output/SystemInfo.xml'
    action :getSystemInfo
end

Dependent cookbooks

webpi >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

0.1.10 failed this metric

Failure: Cookbook has 0 collaborators. A cookbook must have at least 2 collaborators to pass this metric.

Contributing File Metric
            

0.1.10 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a CONTRIBUTING.md file

Foodcritic Metric
            

0.1.10 passed this metric

No Binaries Metric
            

0.1.10 passed this metric

Testing File Metric
            

0.1.10 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must contain a TESTING.md file

Version Tag Metric
            

0.1.10 failed this metric

Failure: To pass this metric, your cookbook metadata must include a source url, the source url must be in the form of https://github.com/user/repo, and your repo must include a tag that matches this cookbook version number