Chef 16+ user_ulimit warning message #432
Labels
Feature Request
Enhancement to existing functionality or new functionality
Tech Debt
Will improve the maintainability of the codebase
👻 Brief Description
This bug report is not directly in the
redisio
cookbook, but a dependent cookbook. However, there is no way to resolve it in the dependent cookbook -- using it at all will create the warning.The redisio cookbook includes the
ulimit
cookbook, which creates auser_ulimit
resource. This resource is now part of Chef 16 as well. The Chef16 client complains about this resource being overridden with this warning:🥞 Cookbook version
Any version including the
ulimit
cookbook will produce this warning👩🍳 Chef-Infra Version
Any Chef client 16+ will produce this error, but I'm using
16.5.64
🎩 Platform details
Ubuntu 18.04 in AWS
Steps To Reproduce
Including the
redisio
cookbook in any manner with a Chef 16+ client will produce this warning at the top, due to its inclusion of theulimit
cookbook as a dependency.🚓 Expected behavior
That no warning happens
➕ Additional context
As long as Chef versions older than 16 need to be supported, I could see this not being addressed or changed. (It would be annoying to create ulimits within the cookbook itself, after all)
Once Chef 16 becomes the minimum version, then using the native
user_ulimit
means theulimit
cookbook should no longer be necessary, and I think set directly with the native support?The text was updated successfully, but these errors were encountered: