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

Add two more data types to streamhost.pp #1409

Merged
merged 1 commit into from
Aug 29, 2020

Conversation

alexjfisher
Copy link
Member

Data types have been added to raw_prepend and raw_append.

The docs say strings or arrays of strings.
Defaults have been changed from undef to [].

The tempate casts using Array($raw_prepend).
Previously, (when the default was undef), the template would cast
nil into an empty array.

String $proxy_read_timeout = $nginx::proxy_read_timeout,
$proxy_connect_timeout = $nginx::proxy_connect_timeout,
Array $resolver = [],
Variant[Array[String], String], $raw_prepend = [],
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

oops. How did that extra comma get there?

Data types have been added to `raw_prepend` and `raw_append`.

The docs say strings or arrays of strings.
Defaults have been changed from `undef` to `[]`.

The tempate casts using `Array($raw_prepend)`.
Previously, (when the default was `undef`), the template would cast
`nil` into an empty array.
@alexjfisher alexjfisher merged commit da05acb into voxpupuli:master Aug 29, 2020
@alexjfisher alexjfisher deleted the more_data_types branch August 29, 2020 18:07
Rubueno pushed a commit to Rubueno/puppet-nginx that referenced this pull request Oct 19, 2020
Add two more data types to streamhost.pp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants