Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow a singular numeric port for the --to-ports parameter #1199

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

gcoxmoz
Copy link

@gcoxmoz gcoxmoz commented Mar 19, 2024

Summary

Allows a numeric port for --to-ports / firewall.toports

Additional Context

Variant[Integer[0, 65535] is Stdlib::Port, but using that fails with "firewall.toports references an unresolved type 'Stdlib::Port'" so oh well.

  • Root cause and the steps to reproduce. (If applicable)
  • Thought process behind the implementation.

Related Issues (if any)

Resolves #1186

Checklist

  • 🟢 Spec tests.
  • 🟢 Acceptance tests.
  • Manually verified. (For example puppet apply)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

firewall.toports expects an undef value or a match for Pattern[/^\d+(?:-\d+)?$/], got Integer
2 participants