do not merge - for review only at this stage.
This is the rebase onto master of dhollinger's work, changing network_route to use the resource API.
Replaces #245
Adds stricter types for onboot
, hotplug
and certain bonding parameters.
Also fixes issue in opts-redhat.erb
when passed a non-string/non-enumerable value. See https://github.com/voxpupuli/puppet-network/compare/master...runejuhl:add-stricter-types?expand=1#diff-6114de1a6f90ec85830d2eab0f0815f7R3 .
do not merge - this is for review only at this time.
This package is required, but not installed on newer Debian-based distros (at
least 20.04 (focal), but probably also 18.04, 18.10, 19.04 and 19.10).
All RHel/Centos version support format IP/prefixlen but RHel/Centos 7 don't support IP/netmask.
More detail on the issue 209.
As it, I have change the references files that are used to make test on redhat. After this change : travis-ci will fail all test.
<!--
Thank you for contributing to this project!
-->
puppet-lint flagged these lines
This renames the file and then makes a symlink to the original filename
when the specs are run. This will allow the module to be installed
without errors onto a windows machine.
The other alternatives I considered were things like mocking File.read to
magically translate invalid characters, but that seemed like more wtf
than this. Happy to consider other approaches though!
Fixes #224
<!--
Thank you for contributing to this project!
-->
<!--
Replace this comment with a description of your pull request.
-->
<!--
Replace this comment with the list of issues or n/a.
Use format:
Fixes #123
Fixes #124
-->
modulesync 5.4.0
We have a few servers with interface names with a "." in, such as "ifcfg-bond0.12". Although it was working fine, whenever the puppet agent would run, it'd keep replacing the network file with a new one. Changing regex pattern to include interface names with dots (.) fixes this.
<!--
Thank you for contributing to this project!
-->
Set bond member interfaces to be enabled or disabled with the main interface, as disabled member interfaces on an enabled bond do not become a member of the bond as expected.
Fixes #288
Hello, I would like to add interface ordering, so they appear in /etc/network/interfaces in predefined order.
I can do some improvements of the PR in case of interest.
Thank you.