chef-cookbooks / runit

Development repository for the Chef Runit Cookbook
https://supermarket.chef.io/cookbooks/runit
Apache License 2.0
106 stars 197 forks source link

Fix options property not taking on the legacy default valuue #246

Closed tas50 closed 5 years ago

tas50 commented 5 years ago

The logic here was backwards. If env property is an empty hash then that's an unset default and we want to use env_dir. Otherwise return {}

Signed-off-by: Tim Smith tsmith@chef.io

tas50 commented 5 years ago

@markan another one you might be interested in since this was a regression in the newer cookbooks versions.