Skip to content

Latest commit

 

History

History
100 lines (54 loc) · 1.95 KB

REFERENCE.md

File metadata and controls

100 lines (54 loc) · 1.95 KB

Reference

Table of Contents

Classes

Public Classes

  • nm: Manage NetworkManager

Private Classes

  • nm::install
  • nm::service

Defined types

Classes

nm

Manage NetworkManager

Parameters

The following parameters are available in the nm class:

conf

Data type: Optional[Variant[String[1], Hash[String, Hash]]]

If a String: Verbatim content of NetworkManager.conf.

If a Hash: Hash of data to serialize to NetworkManager.conf.

See: https://networkmanager.dev/docs/api/latest/nm-settings-keyfile.html

Default value: undef

connections

Data type: Optional[Hash[String, Hash]]

Hash of nm::connection resources to create

Default value: undef

purge_connections

Data type: Boolean

If true unmanaged connections will be purged.

Default value: true

Defined types

nm::connection

Create a .nmconnection file

Parameters

The following parameters are available in the nm::connection defined type:

content

Data type: Optional[Variant[String[1], Hash[String, Hash]]]

If a String: Verbatim content of .nmconnection "keyfile".

If a Hash: Hash of data to serialize to a .nmconnection "keyfile".

See: https://networkmanager.dev/docs/api/latest/nm-settings-keyfile.html

Default value: undef

ensure

Data type: Enum['present', 'absent']

If connection file should be present or absent.

Default value: 'present'