voxpupuli/puppet-unbound

Outgoing port permit/avoid order wrong when outgoing_port_permit_first = false

shieldwed opened this issue · 0 comments

Affected Puppet, Ruby, OS and module versions/distributions

  • Puppet: 7.23.0
  • Ruby: 2.7.7p221
  • Distribution: Ubuntu 20.04.6 LTS (Focal Fossa)
  • Module version: 6.0.0

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

  class { 'unbound':
    # ...
    outgoing_port_avoid        => '65535',
    outgoing_port_permit       => '65535',
    outgoing_port_permit_first => false,
    # ...
  }

What are you seeing

unbound.conf

  ...
  outgoing-port-permit: "65535"
  outgoing-port-avoid: "65535"
  ...

What behaviour did you expect instead

unbound.conf

  ...
  outgoing-port-avoid: "65535"
  outgoing-port-permit: "65535"
  ...

Output log

It should not be required

Any additional information you'd like to impart