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 map item input order to be preserved #698

Conversation

btisdall
Copy link
Contributor

@btisdall btisdall commented Oct 9, 2015

The template used by nginx::resource::map sorts map items lexically on the key, presumably to provide sane behaviour on Ruby 1.8.7; this does not work for situations where multiple map keys match a given input and first-match-wins behaviour is desired. This change allows mappings to be supplied as an array of hashes where preservation of item order is important.

@wyardley
Copy link
Collaborator

Hi @btisdall: are you still interested in having this merged, and if so, can you rebase it against master (and squash any additional commits)?

@wyardley
Copy link
Collaborator

replacing with #934

@wyardley wyardley closed this Oct 18, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants