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

Removed proxy_cache_valid as default when using proxy_cache option #434

Merged
merged 1 commit into from
Sep 3, 2014

Conversation

pablokbs
Copy link
Contributor

@pablokbs pablokbs commented Sep 3, 2014

Hello

If you specify the option proxy_cache, the module automatically add proxy_cache_valid with "false" as an argument, this fails. And this option is not mandatory when using proxy_cache, so I made it optional.

Hope is OK

@3flex
Copy link
Contributor

3flex commented Sep 3, 2014

Could you add tests for this changed behavior? You can add it around https://github.com/jfryman/puppet-nginx/blob/master/spec/defines/resource_location_spec.rb#L533, use the existing tests as a template.

Once this is done I'll merge.

@pablokbs pablokbs force-pushed the proxy_cache_valid_fix branch from f74d168 to ac1e9b7 Compare September 3, 2014 21:41
@pablokbs
Copy link
Contributor Author

pablokbs commented Sep 3, 2014

Added tests and rebased, please check.

3flex added a commit that referenced this pull request Sep 3, 2014
Removed proxy_cache_valid as default when using proxy_cache option
@3flex 3flex merged commit 5c40510 into voxpupuli:master Sep 3, 2014
cegeka-jenkins pushed a commit to cegeka/puppet-nginx that referenced this pull request Oct 23, 2017
Removed proxy_cache_valid as default when using proxy_cache option
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