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

netplan_io (1) Versions 0.4.0

Installs and configure Ubuntu netplan package

Policyfile
Berkshelf
Knife
cookbook 'netplan_io', '~> 0.4.0', :supermarket
cookbook 'netplan_io', '~> 0.4.0'
knife supermarket install netplan_io
knife supermarket download netplan_io
README
Dependencies
Changelog
Quality 33%

netplan.io

This cookbook install and configure the Ubuntu netplan
package.

In order to prevent from breaking the initial netplan configuration file from
the node you're bootstrapping, this cookbook update the netplan configuration
file by matching the device name like:

# Policyfile

name: 'my-policy'

# ...

default['netplan.io'] = {
  ethernets: {
    device: 'ens3'
    // your options here
  }
}

It prevents the Chef changes history feature from working but it also prevents
from breaking your config, sort of tradeoff.

Supported features are:

  • Blind configuration: You can configure the first and single device without knowing its name. [Read more](docs/blind_configuration.md)
  • Global configuration: You can configure all the devices no matter their name. [Read more](docs/global_configuration.md)

Supported Platforms

  • Ubuntu

Attributes

Please note that all attributes are optional.

Key Type Description Default
default['netplan.io'][:version] String APT package version to be installed latest
default['netplan.io'][:renderer] String Set a specific network renderer nil

Usage

  • If you use it from a Policyfile:
name 'my-policy'

default_source :supermarket

run_list 'recipe[netplan.io]'

cookbook 'netplan.io', '~> 0.1.0'

default['netplan.io'] = {
  version: 'latest'
}
  • If you want to use it within a cookbook : ruby include_recipe 'netplan.io'

Dependent cookbooks

This cookbook has no specified dependencies.

Contingent cookbooks

There are no cookbooks that are contingent upon this one.

netplan.io CHANGELOG

This file is used to list changes made in each version of the netplan.io cookbook.

Unreleased

0.4.0

  • Implements global configuration feature

0.3.0

  • Prevents from writing empty configuration file

0.2.0

  • Ignores config files declaring empty devices groups

0.1.0

Initial release.

Collaborator Number Metric
            

0.4.0 failed this metric

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

Contributing File Metric
            

0.4.0 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

Cookstyle Metric
            

0.4.0 passed this metric

No Binaries Metric
            

0.4.0 passed this metric

Testing File Metric
            

0.4.0 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.4.0 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