Skip to content
This repository was archived by the owner on May 14, 2021. It is now read-only.

Set nginx dependency to ~> 2.4.4#18

Open
chrishas35 wants to merge 1 commit intopoise:masterfrom
chrishas35:patch-1
Open

Set nginx dependency to ~> 2.4.4#18
chrishas35 wants to merge 1 commit intopoise:masterfrom
chrishas35:patch-1

Conversation

@chrishas35
Copy link
Copy Markdown

Nginx cookbook 2.5.0 has changed the way this cookbook's nginx_load_balancer is expecting to generate templates using nginx_site. Commit: sous-chefs/nginx@094685b

The proper fix is probably to adjust nginx_load_balancer, but this quick dependency changes solves the problem for me and may be useful to others until a full patch is made.

Nginx cookbook commit sous-chefs/nginx@094685b has broken the way nginx_load_balancer is generating templates.
@benlangfeld
Copy link
Copy Markdown
Contributor

👍

Unfortunately this is a backwards incompatible change in the nginx cookbook in a minor release... Any thoughts @someara or @trinitronx? This breaks because it ends up expecting a default-site.erb template in any cookbook using application_nginx, which will not generally exist.

benlangfeld added a commit to mojolingo/adam_cookbook that referenced this pull request Apr 3, 2014
@chrishas35
Copy link
Copy Markdown
Author

A pull request has been added to opscode-cookbooks/nginx to fix the backwards incompatible change as well. sous-chefs/nginx#207. If/when that is merged, this dependency fallback shouldn't be necessary.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants