Puppet Class: nftables::rules::out::ospf3
- Defined in:
- manifests/rules/out/ospf3.pp
Summary
manage out ospf3Overview
| 6 7 8 9 10 11 12 13 14 15 16 17 18 | # File 'manifests/rules/out/ospf3.pp', line 6
class nftables::rules::out::ospf3 (
  Array[String[1]] $oifname = [],
) {
  if empty($oifname) {
    $_oifname = ''
  } else {
    $oifdata = $oifname.map |String[1] $interface| { "\"${interface}\"" }.join(', ')
    $_oifname = "oifname { ${oifdata} } "
  }
  nftables::rule { 'default_out-ospf3':
    content => "${_oifname}ip6 saddr fe80::/64 ip6 daddr { ff02::5, ff02::6 } meta l4proto 89 accept",
  }
} |