Version information
This version is compatible with:
- Puppet Enterprise 2023.8.x, 2023.7.x, 2023.6.x, 2023.5.x, 2023.4.x, 2023.3.x, 2023.2.x, 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
- Puppet >= 7.0.0 < 9.0.0
- ,
Start using this module
Add this module to your Puppetfile:
mod 'lsst-nm', '0.3.0'
Learn more about managing modules with a PuppetfileDocumentation
Reference
Table of Contents
Classes
Public Classes
nm
: Manage NetworkManager
Private Classes
nm::install
nm::service
Defined types
nm::connection
: Create a .nmconnection file
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'
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.
v0.3.0 (2023-12-02)
Implemented enhancements:
- Migrate ensure_resources to slat operator #14 (traylenator)
- Leave readme-ifcfg-rh.txt untouched #13 (traylenator)
- New parameter purge_connections #12 (traylenator)
v0.2.0 (2023-08-22)
Implemented enhancements:
v0.1.0 (2023-07-07)
Implemented enhancements:
- add conf param to nm class #7 (jhoblitt)
- add support for puppet8 #5 (jhoblitt)
- add nm::connection content param support for hashes #2 (jhoblitt)
- add acceptance tests #1 (jhoblitt)
* This Changelog was automatically generated by github_changelog_generator
Dependencies
- puppetlabs/stdlib (>= 7.0.0 < 10.0.0)
- puppet/extlib (>= 6.2.0 < 8.0.0)