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

Allow index_files => undef in resource::server class #1094

Merged
merged 1 commit into from
Jul 11, 2017

Conversation

walkamongus
Copy link

No description provided.

Copy link
Collaborator

@wyardley wyardley left a comment

Choose a reason for hiding this comment

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

This PR looks good to me! Definitely a fan of making some of these resources optional so that configs can be made a little cleaner.

I'm not sure how easy it would be to test the absence of index_files when it's set to undef, my only thought is that if possible, maybe there should be a spec test for this?

@walkamongus
Copy link
Author

@wyardley -- let me see what I can knock together for tests.

@walkamongus walkamongus force-pushed the optional_index_files branch from 31b3e48 to 58a2318 Compare July 11, 2017 19:39
@walkamongus
Copy link
Author

@wyardley I added some tests that should cover these changes.

@walkamongus walkamongus force-pushed the optional_index_files branch from 58a2318 to 971249d Compare July 11, 2017 20:05
@walkamongus
Copy link
Author

rubocop found my single trailing comma -- fixed now

@wyardley wyardley merged commit 949bc50 into voxpupuli:master Jul 11, 2017
@alexjfisher alexjfisher added the enhancement New feature or request label Aug 1, 2017
@wyardley
Copy link
Collaborator

wyardley commented Oct 2, 2017

See comments in #1128

cegeka-jenkins pushed a commit to cegeka/puppet-nginx that referenced this pull request Sep 13, 2019
Allow index_files => undef in resource::server class
Rubueno pushed a commit to Rubueno/puppet-nginx that referenced this pull request Oct 19, 2020
Allow index_files => undef in resource::server class
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