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 location defaults to init and server resource #1071

Merged
merged 1 commit into from
Apr 30, 2017

Conversation

dol
Copy link
Contributor

@dol dol commented Apr 11, 2017

By adding location defaults it's possible to overwrite location
value like 'index_files'.

Related to #1068

@dol
Copy link
Contributor Author

dol commented Apr 11, 2017

My goal is to avoid config_pitfalls. I'd like to clear the www_root and index_files when using locations in the context of nginx::nginx_servers(hiera).

@elmobp
Copy link
Contributor

elmobp commented Apr 12, 2017

+1!

@wyardley
Copy link
Collaborator

This seems sane to me (though I'd love to see someone take a stab at reworking the configs in a way that avoids so much duplication in a cleaner way).

@dol can you rebase?

@wyardley
Copy link
Collaborator

@dol I think the extra commit ends up pulling in other changes, so if possible, can you reset back, then rebase, then force push?

@dol dol force-pushed the feature/locations_defaults branch 2 times, most recently from cbebb3e to 4c8865d Compare April 15, 2017 23:12
By adding location defaults it's possible to overwrite location
value like 'index_files'.
@dol dol force-pushed the feature/locations_defaults branch from 4c8865d to cbafefb Compare April 15, 2017 23:14
@dol
Copy link
Contributor Author

dol commented Apr 15, 2017

@wyardley It took some time to get what you were asking for. But the merge commit is cleaned up.

@oranenj
Copy link
Contributor

oranenj commented Apr 30, 2017

Looks good to me. Thanks :)

cegeka-jenkins pushed a commit to cegeka/puppet-nginx that referenced this pull request Sep 13, 2019
Add location defaults to init and server resource
Rubueno pushed a commit to Rubueno/puppet-nginx that referenced this pull request Oct 19, 2020
Add location defaults to init and server resource
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.

4 participants