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

Installs/Configures webdeploymenttoolkit

Policyfile
Berkshelf
Knife
cookbook 'webdeploymenttoolkit', '= 0.1.0', :supermarket
cookbook 'webdeploymenttoolkit', '= 0.1.0'
knife supermarket install webdeploymenttoolkit
knife supermarket download webdeploymenttoolkit
README
Dependencies
Quality 0%

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.

Cookbooks

Attributes

  • node['webdeploymenttoolkit']['WebDeployExe'] - used to execute the msdeploy.exe. default is %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.

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

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Foodcritic Metric
            

0.1.0 failed this metric

FC017: LWRP does not notify when updated: /tmp/cook/3a41f490a5adc5a38bb3a604/webdeploymenttoolkit/providers/web_deploy.rb:1
FC017: LWRP does not notify when updated: /tmp/cook/3a41f490a5adc5a38bb3a604/webdeploymenttoolkit/providers/web_deploy.rb:19
FC017: LWRP does not notify when updated: /tmp/cook/3a41f490a5adc5a38bb3a604/webdeploymenttoolkit/providers/web_deploy.rb:32
FC017: LWRP does not notify when updated: /tmp/cook/3a41f490a5adc5a38bb3a604/webdeploymenttoolkit/providers/web_deploy.rb:47
FC017: LWRP does not notify when updated: /tmp/cook/3a41f490a5adc5a38bb3a604/webdeploymenttoolkit/providers/web_deploy.rb:61