diff options
author | Tim Smith <tsmith84@gmail.com> | 2020-03-20 09:31:19 -0700 |
---|---|---|
committer | Tim Smith <tsmith84@gmail.com> | 2020-03-20 09:31:19 -0700 |
commit | 548b7213361c1e19bc06a22efa1944a2e0884e54 (patch) | |
tree | 53694aa82adb1f15f84d3231155892fbedde19be /kitchen-tests | |
parent | af87e78c46b1676ebfab6422c01651273d0f7362 (diff) | |
download | chef-548b7213361c1e19bc06a22efa1944a2e0884e54.tar.gz |
Fix loading the template file in the user_ulimit resource
Also test it in the kitchen tests.
Signed-off-by: Tim Smith <tsmith@chef.io>
Diffstat (limited to 'kitchen-tests')
-rw-r--r-- | kitchen-tests/cookbooks/end_to_end/recipes/default.rb | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/kitchen-tests/cookbooks/end_to_end/recipes/default.rb b/kitchen-tests/cookbooks/end_to_end/recipes/default.rb index eeccb9ffd7..8003f915f8 100644 --- a/kitchen-tests/cookbooks/end_to_end/recipes/default.rb +++ b/kitchen-tests/cookbooks/end_to_end/recipes/default.rb @@ -117,6 +117,21 @@ end end end +user_ulimit "tomcat" do + filehandle_soft_limit 8192 + filehandle_hard_limit 8192 + process_soft_limit 61504 + process_hard_limit 61504 + memory_limit 1024 + core_limit 2048 + core_soft_limit 1024 + core_hard_limit "unlimited" + stack_soft_limit 2048 + stack_hard_limit 2048 + rtprio_soft_limit 60 + rtprio_hard_limit 60 +end + include_recipe "::chef-vault" unless includes_recipe?("end_to_end::chef-vault") include_recipe "::alternatives" include_recipe "::tests" |