Version information
This version is compatible with:
- Puppet Enterprise 2023.1.x, 2023.0.x, 2021.7.x, 2021.6.x, 2021.5.x, 2021.4.x, 2021.3.x, 2021.2.x, 2021.1.x, 2021.0.x, 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x
- Puppet >= 6.0.0 < 8.0.0
- ,
Start using this module
Add this module to your Puppetfile:
mod 'lsst-cni', '2.4.1'
Learn more about managing modules with a PuppetfileDocumentation
cni
Table of Contents
- Overview
- Description
- Usage - Configuration options and additional functionality
- Reference - An under-the-hood peek at what the module is doing and how
Overview
Installs and manages CNI software.
Description
This module is intended to support the selective installation of CNI reference
plugins. It specifically in intended to co-exist with
rke
installing, managing, and
upgrading its own set of CNI plugins into /opt/cni/bin
. It is selective in
that only explicitly enumerated CNI reference plugins are install as symlinks
in /opt/cni/bin
.
Usage
Plugin Install Example
class { 'cni::plugins':
enable => [
'macvlan',
'ipvlan',
]
}
DHCP Service Example
class { 'cni::plugins::dhcp': }
Explicit Plugin Release Version Example
class { cni::plugins:
version => '0.9.0',
checksum_type => 'sha256',
checksum => '58a58d389895ba9f9bbd3ef330f186c0bb7484136d0bfb9b50152eed55d9ec24',
}
class { 'cni::plugins::dhcp': }
Reference
See REFERENCE
Reference
Table of Contents
Classes
cni
: Install Container Network Interface softwarecni::plugins
: Install CNI reference pluginscni::plugins::dhcp
: Install the cni-dhcp servicecni::plugins::install
: private class
Defined types
cni::plugins::enable
: Enable a CNI plugin binary
Classes
cni
Install Container Network Interface software
Parameters
The following parameters are available in the cni
class:
base_path
Data type: Stdlib::Absolutepath
Base path under which to install software.
Default value: '/opt/cni'
cni::plugins
Install CNI reference plugins
Parameters
The following parameters are available in the cni::plugins
class:
version
Data type: String
CNI plugins release version
Default value: '0.8.5'
checksum
Data type: String
Release tarball checksum string
Default value: 'bd682ffcf701e8f83283cdff7281aad0c83b02a56084d6e601216210732833f9'
checksum_type
Data type: String
The digest algorithm used for the checksum string.
Default value: 'sha256'
enable
Data type: Optional[Array[String]]
Create a symlink from the CNI bin install path to the plugin binary.
Default value: undef
cni::plugins::dhcp
Install the cni-dhcp service
cni::plugins::install
private class
Defined types
cni::plugins::enable
Enable a CNI plugin binary
Examples
cni::plugins::enable { 'macvlan': }
Changelog
All notable changes to this project will be documented in this file. Each new release typically also includes the latest modulesync defaults. These should not affect the functionality of the module.
v2.4.1 (2023-02-13)
Fixed bugs:
v2.4.0 (2023-01-31)
Implemented enhancements:
v2.3.0 (2022-08-22)
Merged pull requests:
v2.2.0 (2022-08-03)
Merged pull requests:
v2.1.0 (2022-04-11)
Merged pull requests:
v2.0.0 (2022-02-01)
Merged pull requests:
1.0.1 (2022-01-21)
Merged pull requests:
1.0.0 (2021-06-16)
Merged pull requests:
0.1.2 (2021-01-29)
Merged pull requests:
0.1.1 (2021-01-29)
Merged pull requests:
0.1.0 (2021-01-29)
Merged pull requests:
- add plugin installation & support for cni-dhcp service #3 (jhoblitt)
- more basic plumbing #2 (jhoblitt)
- initial plumbing #1 (jhoblitt)
* This Changelog was automatically generated by github_changelog_generator
Dependencies
- puppetlabs/stdlib (>= 5.0.0 < 9.0.0)
- puppet/archive (>= 4.0.0 < 7.0.0)
- puppet/systemd (>= 3.0.0 < 5.0.0)