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

zerotier (3) Versions 1.0.1

Installs/Configures ZeroTier

Policyfile
Berkshelf
Knife
cookbook 'zerotier', '= 1.0.1', :supermarket
cookbook 'zerotier', '= 1.0.1'
knife supermarket install zerotier
knife supermarket download zerotier
README
Dependencies
Quality 14%

ZeroTier Cookbook

This is a Chef cookbook to manage ZeroTier networks on your Chef nodes.

Supported Platforms

  • Debian
  • Ubuntu
  • CentOS
  • RHEL
  • Amazon

Recipes

zerotier::default

Default recipe. Calls zerotier::install

zerotier::install

Install's ZeroTier One on your system via the native package management system.

zerotier::ohai_plugin

Installs the Ohai plugin for ZeroTier. This is required by the provided LWRP zerotier_network.

zerotier::join_networks

Shortcut to automatically join networks stored in attributes (See example in the Attributes section below)

Attributes

node['zerotier']['install_version']

Version of ZeroTier to install. Empty by default and defaults to the latest version available.

node['zerotier']['central_url']

URL to the instance of the ZeroTier Central controller. Defaults to https://my.zerotier.com. Will be useful in the future when Central is distributable to our enterprise customers.

node['zerotier']['public_autojoin']

List of public networks to automatically join when using the zerotier::join_networks recipe. These networks do not require any interaction with the network controller.

node['zerotier']['private_autojoin']

List of private networks to automatically join when using the zerotier::join_networks recipe. Joining a private network requires an API Access Token generated at https://my.zerotier.com. Each member of the list is a hash as follows:

{
    :network_id => "your_network_id",
    :auth_token => "your_auth_token",  # API access token generated at https://my.zerotier.com
    :central_url => "URL_to_central_instance" # Not required.  Defaults to https://my.zerotier.com
}

LWRP

The ZeroTier recpie provides the zerotier_network lwrp

Attributes:

  • network_id - Network ID to join. defaults to the name attribute.
  • node_name - Name of the node to put in https://my.zerotier.com (only applicable when joining a private network)
  • auth_token - API access token generated in your account at https://my.zerotier.com. Required if you wish to automatically authorize the node to join the network.
  • central_url - URL to the instance of ZeroTier Central. Defaults to https://my.zerotier.com.
  • action - :join or :leave. Defaults to :join

Dependent cookbooks

ohai >= 0.0.0

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

Collaborator Number Metric
            

1.0.1 failed this metric

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

Contributing File Metric
            

1.0.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.0.1 failed this metric

FC022: Resource condition within loop may not behave as expected: zerotier/recipes/join_networks.rb:16
FC066: Ensure chef_version is set in metadata: zerotier/metadata.rb:1
FC069: Ensure standardized license defined in metadata: zerotier/metadata.rb:1
Run with Foodcritic Version 12.0.1 with tags metadata,correctness ~FC031 ~FC045 and failure tags any

License Metric
            

1.0.1 failed this metric

zerotier 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.0.1 passed this metric

Testing File Metric
            

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