sous-chefs / nginx

Development repository for the nginx cookbook
https://supermarket.chef.io/cookbooks/nginx
Apache License 2.0
553 stars 806 forks source link

Setting 'default['nginx']['passenger']['max_pool_size']' after 8.1.5 #472

Closed daveallen closed 5 years ago

daveallen commented 5 years ago

Cookbook version

8.1.6 and 9.0.0

Chef-client version

14.0.202

Platform Details

Ubuntu 16.04

Scenario:

Changing max_pool_size in the passenger.conf file. Works in 8.1.5.

Steps to Reproduce:

use versions 8.1.6 or 9.0.0 and set 'default['nginx']['passenger']['max_pool_size']' to something different in a wrapper cookbook. Run chef-client on the server and check the /etc/nginx/conf.d/passenger.conf for the new value. Sets up a rails server.

Expected Result:

The value should change to what you set it to in the attributes file in the wrapper cookbook.

Actual Result:

The value never changes. Stays the same as it was. Changing the value by hand and running chef-client leaves the value to what you set by hand.