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

iis-lb (8) Versions 0.1.11

Installs/Configures IIS as a web load-balancer

Policyfile
Berkshelf
Knife
cookbook 'iis-lb', '= 0.1.11', :supermarket
cookbook 'iis-lb', '= 0.1.11'
knife supermarket install iis-lb
knife supermarket download iis-lb
README
Dependencies
Quality 100%

Code Climate

iis-lb

This cookbook configures IIS as a simple web load-balancer by creating an IIS Server Farm. It also allows you to pass a node['iis-lb']['members'] hash to add servers to the said server farm.

DISCLAIMER

This cookbook is used to help demonstrate the wrapper-cookbook pattern, attribute precedence and search in Chef Essentials training for Windows. This cookbook does NOT describe the definitive pattern for configuring IIS as a web load-balancer. Use at your own risk.

Platforms

This cookbook was tested on:

  • Windows Server 2012 R2

Usage

Adding recipe[iis-lb::default] to your Windows Server's run_list will install all the necessary components and create an IIS Server Farm myServerFarm. This will also add two servers to the Server Farm, based on the node['iis-lb']['members'] hash. One should override this hash to add their own servers to the farm, such as in this example wrapper recipe:

node.default['iis-lb']['members'] = [
  {
    'address' => 'localhost',
    'weight' => 100,
    'port' => 4000,
    'ssl_port' => 4000
  },
  {
    'address' => '127.0.0.1',
    'weight' => 100,
    'port' => 4001,
    'ssl_port' => 4001
  }]

include_recipe 'iis-lib::default'

The recipe[iis-lb::sweep] will remove the Server Farm myServerFarm from your IIS configuration.

Dependencies

This cookbook depends on the following Community Cookbooks:

  • windows
  • webpi
  • iis

Dependent cookbooks

windows >= 0.0.0
webpi >= 0.0.0
iis >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Foodcritic Metric
            

0.1.11 passed this metric