-
-
Notifications
You must be signed in to change notification settings - Fork 881
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
setting index files to undef doesn't work as expected #1128
Comments
https://github.com/voxpupuli/puppet-nginx/blob/master/manifests/resource/server.pp#L203-L206 |
@walkamongus so it turns out this isn't actually valid passing in
gets the default behavior, vs. suppressing it. So this creates unexpected behavior. Also, the tests don't work as expected. So I'll probably more or less revert #1094 in #1129, as well as updating the tests. |
@wyardley yep -- that looks to be correct. I found some discussion of this at https://tickets.puppetlabs.com/browse/PUP-5295. It looks like there is a desire to make the distinction between 'default value' and undef easier, but it hasn't been done due to backwards incompatibility issues. Interestingly enough, after looking at https://docs.puppet.com/puppet/5.2/lang_data_default.html#anywhere-else and knocking up a test case, setting the param to
|
Remove Optional for index_files (#1128)
Closed via #1129 |
Remove Optional for index_files (voxpupuli#1128)
Remove Optional for index_files (voxpupuli#1128)
For some reason, this works to suppress the index directive:
But this doesn't:
The text was updated successfully, but these errors were encountered: