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

Remove 'Optional' for resources with default settings #1130

Merged
merged 1 commit into from
Oct 3, 2017
Merged

Remove 'Optional' for resources with default settings #1130

merged 1 commit into from
Oct 3, 2017

Conversation

wyardley
Copy link
Collaborator

@wyardley wyardley commented Oct 3, 2017

See #1128, but basically, having default settings for Optional params gives some unexpected results (because passing in undef gives you the default vs. setting undef)

@ekohl
Copy link
Member

ekohl commented Oct 3, 2017

Are the acceptance tests failing in beaker-rspec?

@ekohl
Copy link
Member

ekohl commented Oct 3, 2017

Looked like voxpupuli/beaker-rspec@6809f32 fixed it.

@wyardley wyardley merged commit 18b26f3 into voxpupuli:master Oct 3, 2017
@wyardley wyardley deleted the update_optional_params branch October 3, 2017 17:29
@wyardley
Copy link
Collaborator Author

wyardley commented Nov 6, 2017

Technically, it is possible to set undef in hiera (though not directly from the DSL). Not sure worth re-allowing this, though, as it could cause confusion in terms of how to use the module.

cegeka-jenkins pushed a commit to cegeka/puppet-nginx that referenced this pull request Sep 13, 2019
Remove 'Optional' for resources with default settings
Rubueno pushed a commit to Rubueno/puppet-nginx that referenced this pull request Oct 19, 2020
Remove 'Optional' for resources with default settings
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