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, 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x
- Puppet >= 5.5.0 < 9.0.0
- ,
Start using this module
Add this module to your Puppetfile:
mod 'aursu-networksetup', '1.7.2'
Learn more about managing modules with a PuppetfileDocumentation
networksetup
This module is able to contol several aspects of networking configuration for RedHat based OSes.
Table of Contents
- Description
- Setup - The basics of getting started with networksetup
- Usage - Configuration options and additional functionality
- Limitations - OS compatibility, etc.
- Development - Guide for contributing to the module
Description
This module is able to contol several aspects of networking configuration for RedHat based OSes.
It is possible to match IP address to interface MAC address and setup loopback interface
There is ability to add IP address to existing interface and setup IP address alias
Setup
What networksetup affects OPTIONAL
If it's obvious what your module touches, you can skip this section. For example, folks can probably figure out that your mysql_instance module affects their MySQL instances.
If there's more that they should know about, though, this is the place to mention:
- Files, packages, services, or operations that the module will alter, impact, or execute.
- Dependencies that your module automatically installs.
- Warnings or other important notices.
Setup Requirements OPTIONAL
Beginning with networksetup
The very basic steps needed for a user to get the module up and running. This can include setup steps, if necessary, or it can be an example of the most basic use of the module.
Usage
Include usage examples for common use cases in the Usage section. Show your users how to use your module to solve problems, and be sure to include code examples. Include three to five examples of the most important or common tasks a user can accomplish with your module. Show users how to accomplish more complex tasks that involve different types, classes, and functions working in tandem.
Reference
See REFERENCE.md for details.
Limitations
It supports only CentOS 7+ operating systems
Development
Please submit GitHub pull request for review. Rspec unit tests are required for any introduced changes
Release Notes/Contributors/Etc. Optional
See CHANGELOG.md for details
Changelog
All notable changes to this project will be documented in this file.
Release 1.0.0
Features
- Initial release: loopbacks settings
Bugfixes
Known Issues
Release 1.1.0
Features
- Added netmask validation
Bugfixes
- Added compatibility to Ruby < 2.5
Known Issues
Release 1.2.0
Features
- Added installation of required tools
Bugfixes
Known Issues
Release 1.2.1
Features
- Added flags to make software management optional
Bugfixes
Known Issues
Release 1.2.2
Features
Bugfixes
- Added fix for parent_device field
Known Issues
Release 1.2.3
Features
Bugfixes
- Fix for missed label provider method for network_addr
- Fix for empty addr_lookup output
Known Issues
Release 1.2.4
Features
- Added additional properties for network_iface
Bugfixes
- Adjusted provider class methods' return values
Known Issues
Release 1.2.5
Features
Bugfixes
- Added provider brctl with legacy content to allow default :ip provider usage on CentOS 8
Known Issues
Release 1.2.6
Features
Bugfixes
- Added HWADDR field setup into ifcfg script
Known Issues
Release 1.3.0
Features
- Introduced ipv6_setup flag to generate IPv6 address based on existing IPv4
- Added IPv6 default gateway
- Introduced ipv6_prefixlength for IPv6 address prefix
Bugfixes
- Corrected prefix and netmask usage (in favor of ipv6_prefixlength)
Known Issues
Release 1.4.0
Features
- Added /etc/sysconfig/network configuration management
- Added service
network
Puppet resource to control it
Bugfixes
Known Issues
Release 1.4.1
Features
Bugfixes
- Bugfix: change label on address alias
Known Issues
Release 1.4.2
Features
- Added alias name validation on length
Bugfixes
Known Issues
Release 1.4.3
Features
- Added abilitiees to process MAC address
- Added master/slave parameters for bond slave interfaces
Bugfixes
Known Issues
Release 1.4.4
Features
- Added abilitiees to remove DNS records from ifcfg file
Bugfixes
Known Issues
Release 1.4.5
Features
- Added support for settings NM_CONTROLLED and IPV6_DEFROUTE
Bugfixes
Known Issues
Release 1.4.6
Features
- Added nocreate flag for network_interface in order to not create ifcfg script if it does not exist
Bugfixes
Known Issues
Release 1.4.7
Features
- Added HOSTNAME setting into /etc/sysconfig/network
Bugfixes
Known Issues
Release 1.4.8
Features
- Added function networksetup::gateway_prediction
Bugfixes
Known Issues
Release 1.4.9
Features
- Added function networksetup::ipv6_compile
Bugfixes
Known Issues
Release 1.4.10
Features
- Added function networksetup::local_ips
Bugfixes
Known Issues
Release 1.5.0
Features
- PDK upgrade
Bugfixes
Known Issues
Release 1.5.1
Features
Bugfixes
- Fix flush method in Puppet::Type::Network_iface::ProviderIp
Known Issues
Release 1.5.2
Features
- Added support for UUID setting
Bugfixes
Known Issues
Release 1.5.3
Features
Bugfixes
- Bugfix for network_iface::dns value munge
Known Issues
Release 1.6.0
Features
- PDK upgrade to 3.0.0
Bugfixes
Known Issues
Release 1.7.2
Features
- Added workaround for Rocky Linux 9
- Added
params
andglobals
for flags
Bugfixes
- Bugfix for
Tried to load unspecified class: Puppet::Util::Execution::ProcessOutput); replacing
Known Issues
Dependencies
- puppetlabs/stdlib (>= 4.1.0 < 10.0.0)