Skip to content
This repository has been archived by the owner on Nov 11, 2021. It is now read-only.

Enable IPv6 mroute creation on RedHat based #261

Open
benibr opened this issue Dec 21, 2018 · 1 comment
Open

Enable IPv6 mroute creation on RedHat based #261

benibr opened this issue Dec 21, 2018 · 1 comment

Comments

@benibr
Copy link

benibr commented Dec 21, 2018

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 :-)

@benibr
Copy link
Author

benibr commented Feb 19, 2019

Created a PR #262 to fix the issue

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant