Update IPTables Documentation Example

Description

All examples within the manifests should be verified to reference dports as an integer but the following is known to be incorrect as it references it as a string.

The current /iptables/manifests/listen/tcp_stateful.pp manifest has the following example:

  1. @example Provide Access to Specific Ports

  2. iptables::listen::tcp_stateful { 'example':

  3. trusted_nets => [ '1.2.3.4', '5.6.7.8' ],

  4. dports => [ '5', '1024:65535' ]

  5. }
    The dports section should be integers instead of strings. The corrected section should look like

  6. @example Provide Access to Specific Ports

  7. iptables::listen::tcp_stateful { 'example':

  8. trusted_nets => [ '1.2.3.4', '5.6.7.8' ],

  9. dports => [ 5, 1024:65535 ]

  10. }

Quick look also shows /iptables/manifests/listen/udp.pp has the issue.

Acceptance Criteria

None

Activity

Show:
Nick Miller
August 7, 2017, 1:14 PM

Thanks Brian, we will look into this next sprint.

Labels

None

Epic Link

None

Story Points

2

Components

Assignee

Nicholas Markowski

Sprint

None

Affects versions

Priority

Medium
Configure