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

Deprecate ports parameter as a string #611

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

Conversation

traylenator
Copy link

@traylenator traylenator commented May 22, 2024

Summary

Previously it was possible to set the ports parameter as:

  • '1234'
  • '1234,5678'
  • ['1234']
  • ['1234','5678']

Since #610 the ports parameter could also be specified with Stdlib::Ports:

  • 1234
  • [1234]
  • [1234, 5678]

With this patch all the previous string values are deprecated and will fail. The Stdlib::Port values must be used.

Checklist

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

Previously it was possible to set the ports parameter
as:

* `'1234'`
* `'1234,5678'`
* `['1234']`
* `['1234','5678']`

Since puppetlabs#610 the ports parameter could also be specified with `Stdlib::Ports`:

* `1234`
* `[1234]`
* `[1234, 5678]`

With this patch all the previous string values are deprecated and
will fail. The `Stdlib::Port` values must be used.
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.

3 participants