cookbook 'netplan_io', '~> 0.4.0'
netplan_io (1) Versions 0.4.0 Follow0
Installs and configure Ubuntu netplan package
cookbook 'netplan_io', '~> 0.4.0', :supermarket
knife supermarket install netplan_io
knife supermarket download netplan_io
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
0.4.0 failed this 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
0.4.0 passed this 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
0.4.0 failed this 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