voxpupuli / puppet-firewalld

Puppet module for managing firewalld
Apache License 2.0
40 stars 77 forks source link

missing support for bridges/eb-familiy #298

Closed sircubbi closed 1 year ago

sircubbi commented 4 years ago

Affected Puppet, Ruby, OS and module versions/distributions

How to reproduce (e.g Puppet code you use)

  firewalld_direct_rule { 'disable-vnet-stp':
    inet_protocol => 'eb',
    table         => 'filter',
    chain         => 'FORWARD',
    priority      => 10,
    args          => '-i "vnet+" -d BGA -j DROP';
  }

What are you seeing

Error: Failed to apply catalog: Parameter inet_protocol failed on Firewalld_direct_rule[disable-vnet-stp]: Invalid value "eb". Valid values are ipv4, ipv6.

What behaviour did you expect instead

I hoped to create a rule for the bridge-family.

Output log

Any additional information you'd like to impart

So far all resource-types only allow for "ipv4" and "ipv6". There need to be at least "eb" added to create rules for bridges.