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

Propery handle ${client_body,proxy}_temp_path #1251

Merged
merged 1 commit into from
Oct 1, 2018

Conversation

ekohl
Copy link
Member

@ekohl ekohl commented Oct 1, 2018

The template already allowed setting it to false. This completes it.

The template already allowed setting it to false. This completes it.
@ekohl ekohl mentioned this pull request Oct 1, 2018
@@ -26,7 +26,7 @@
# }
class nginx (
### START Nginx Configuration ###
$client_body_temp_path = $nginx::params::client_body_temp_path,
Variant[Stdlib::Absolutepath, Boolean] $client_body_temp_path = $nginx::params::client_body_temp_path,
Copy link
Member Author

Choose a reason for hiding this comment

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

I wasn't sure about a boolean false here or an empty string. Thoughts?

Copy link
Member

Choose a reason for hiding this comment

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

I think Boolean is better than empty string and it's probably not worth making it a breaking change by defaulting to undef and making it Optional.

Copy link
Member Author

Choose a reason for hiding this comment

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

It does mean that true is allowed but not really handled - OTOH, it wasn't either in the past

@ekohl ekohl added the enhancement New feature or request label Oct 1, 2018
@dhollinger dhollinger merged commit 91d1aba into voxpupuli:master Oct 1, 2018
@ekohl ekohl deleted the optional-paths branch October 1, 2018 20:49
cegeka-jenkins pushed a commit to cegeka/puppet-nginx that referenced this pull request Sep 13, 2019
Propery handle ${client_body,proxy}_temp_path
Rubueno pushed a commit to Rubueno/puppet-nginx that referenced this pull request Oct 19, 2020
Propery handle ${client_body,proxy}_temp_path
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants