This repository was archived by the owner on Nov 11, 2021. It is now read-only.

Description
Expected Behavior
When creating IPv6 routes with mroute.pp the routes should be in a route6-${name} file under RedHat like Systems
Actual Behavior
The Class writes all kind of routes together in the /etc/sysconfig/network-scripts/route-${name} file, no matter which protocol version cause in https://github.com/example42/puppet-network/blob/master/manifests/mroute.pp only the route-${name} template is used.
Steps to Reproduce the Problem
Code like this will reproduce the behaviour:
network::mroute { 'eth0':
routes => {
'0.0.0.0/0' => '192.168.1.1',
'::/0' => '2a00:1450:4001:81c::2003',
}
}
and will result in the following route-eth0 file:
### File managed by Puppet
###
0.0.0.0/0 via 192.168.1.1
::/0 via 2a00:1450:4001:81c::2003
On CentOS 7 the IPv4 route will work the IPv6 route won't be applied. There is an implementation in the route Class which was merged a few months ago #214
Hopefully I find the time in january to fix it myself :-)