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

weave (3) Versions 1.5.1

Installs/Configures weave

Berkshelf/Librarian
Policyfile
Knife
cookbook 'weave', '~> 1.5.1'
cookbook 'weave', '~> 1.5.1', :supermarket
knife cookbook site install weave
knife cookbook site download weave
README
Dependencies
Changelog
Quality 33%

Weave Cookbook

Weave Cookbook is a library cookbook that provides resources to install and manage the Weave

Supported Platforms

This cookbook is intended to be used with Linux using systemd. SysV, Init.d and Upstart are not supported.

Requirements

  • Chef 12.x.x
  • Network access to Weave github repository

If you use the docker_hook action: - Docker will be installed and configured from that action, make sure no existing docker installation is present - Set docker_hook property to true

Dependencies

Resources

This cookbook contains only one resource - weave_service

Actions

  • :create - Installs weave binary, creates the docker hook, and setup Weave service.
  • :install- Downloads weave binary to the default location.
  • :docker_hook - configures weave bridge and creates docker service configured to use it.
  • :setup - download weave docker images and configures the weave systemd service
  • :start - Start weave service (only if service exists already)
  • :stop - Stops weave service (only if service exists already)
  • :restart - Restarts the service

Properties

  • ip: ip CIDR assigned to the weave interface for this node.
  • ip_alloc_range: CIDR that defines the IP range to be assigned to containers in all nodes.
  • subnet: CIDR that defines the IP range to be assigned to containers in this node.
  • password: weave network password.
  • docker_hook: if set to true, activates the docker_hook action.
  • is_master: set to true if this is the first node in the weave network.
  • master: set to an existing node to join its network. Won't be used if is_master is true.
  • version: weave release version.
  • source: URL where weave binary can be downloaded.

Usage

You will usually use the weave_service resource in your cookbooks to create the weave service, including docker hooks, and then start it.

weave_service 'weave overlay docker' do
  ip_alloc_range '10.2.0.0/16'
  ip '10.2.1.1/16'
  subnet '10.2.1.2/24'
  is_master true
  docker_hook true
  password 'very.secret'
  version 'latest_release'
  action [ :create, :start ]
end

Dependent cookbooks

docker = 1.1.49
compat_resource >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

0.1.0

Initial release of weave

Collaborator Number Metric
            

1.5.1 passed this metric

Contributing File Metric
            

1.5.1 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
            

1.5.1 failed this metric

FC066: Ensure chef_version is set in metadata: weave/metadata.rb:1
FC069: Ensure standardized license defined in metadata: weave/metadata.rb:1
Run with Foodcritic Version 12.2.1 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

License Metric
            

1.5.1 failed this metric

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

No Binaries Metric
            

1.5.1 failed this metric

Failure: Cookbook should not contain binaries. Found:
weave/files/nsenter_2.24.deb

Publish Metric
            

1.5.1 passed this metric

Supported Platforms Metric
            

1.5.1 passed this metric

Testing File Metric
            

1.5.1 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
            

1.5.1 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