Skip to content

Latest commit

 

History

History
116 lines (63 loc) · 2.67 KB

REFERENCE.md

File metadata and controls

116 lines (63 loc) · 2.67 KB

Reference

Table of Contents

Classes

Defined types

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 and enable the cni-dhcp service

cni::plugins::dhcp::service

Installs the cni-dhcp systemd service and enables it to start on boot.

Explicit inclusion of this class is not necessary when using the cni::plugins::dhcp class.

This class is intended to be included directly only when it is desirable to enable the cni-dhcp service without managing the installation of the cni plugin binaries.

cni::plugins::install

private class

Defined types

cni::plugins::enable

Enable a CNI plugin binary

Examples

cni::plugins::enable { 'macvlan': }