example42/puppet-network

IPv6 RedHat rule6 missing

peterverraedt opened this issue · 0 comments

Expected Behavior

Creation of rule6-$IFACE files containing IPv6 rules, if family is set to inet6.

Actual Behavior

IPv6 rules are put in rule-$IFACE together with the IPv4 rules.

Steps to Reproduce the Problem

Put the following in a puppet manifest.

network::rule { 'eth0':
  ensure  => present,
  iprule  => [
    "from 2001:db8::/64 lookup tablename",
    "to 2001:db8::/64 lookup tablename",
  ],
  family  => ['inet6', 'inet6'],
  require => Network::Routing_table['tablename'],
}```

Rule is added in `rule-eth0`, not in `rule6-eth0`; and applying it won't work.