Sha256: a47a6d875527e02fbe790759b7dc3590b81c8d84d7ae58f554606e218c3e2c8a

Contents?: true

Size: 1.86 KB

Versions: 109

Compression:

Stored size: 1.86 KB

Contents

# Generated by <%= ChefUtils::Dist::Infra::PRODUCT %>. Changes will be overwritten.

# Limits settings for <%= @ulimit_user %>

<% unless @filehandle_limit.nil? -%>
<%= @ulimit_user -%> - nofile <%= @filehandle_limit %>
<% else -%><% unless @filehandle_soft_limit.nil? -%><%= @ulimit_user -%> soft nofile <%= @filehandle_soft_limit %><% end -%>
<% unless @filehandle_hard_limit.nil? -%><%= @ulimit_user -%> hard nofile <%= @filehandle_hard_limit %><% end -%>
<% end -%>

<% unless @process_limit.nil? -%>
<%= @ulimit_user -%> - nproc <%= @process_limit %>
<% else -%><% unless @process_soft_limit.nil? -%><%= @ulimit_user -%> soft nproc <%= @process_soft_limit %><% end -%>
<% unless @process_hard_limit.nil? -%><%= @ulimit_user -%> hard nproc <%= @process_hard_limit %><% end -%>
<% end -%>

<% unless @memory_limit.nil? -%>
<%= @ulimit_user -%> - memlock <%= @memory_limit %>
<% end -%>

<% unless @core_limit.nil? -%>
<%= @ulimit_user -%> - core <%= @core_limit %>
<% else -%><% unless @core_soft_limit.nil? -%><%= @ulimit_user -%> soft core <%= @core_soft_limit %><% end -%>
<% unless @core_hard_limit.nil? -%><%= @ulimit_user -%> hard core <%= @core_hard_limit %><% end -%>
<% end -%>

<% unless @stack_limit.nil? -%>
<%= @ulimit_user -%> - stack <%= @stack_limit %>
<% else -%><% unless @stack_soft_limit.nil? -%><%= @ulimit_user -%> soft stack <%= @stack_soft_limit %><% end -%>
<% unless @stack_hard_limit.nil? -%><%= @ulimit_user -%> hard stack <%= @stack_hard_limit %><% end -%>
<% end -%>

<% unless @rtprio_limit.nil? -%>
<%= @ulimit_user -%> - rtprio <%= @rtprio_limit %>
<% else -%><% unless @rtprio_soft_limit.nil? -%><%= @ulimit_user -%> soft rtprio <%= @rtprio_soft_limit %><% end -%>
<% unless @rtprio_hard_limit.nil? -%><%= @ulimit_user -%> hard rtprio <%= @rtprio_hard_limit %><% end -%>
<% end -%>

<% unless @virt_limit.nil? -%>
  <%= @ulimit_user -%> - as <%= @virt_limit %>
<% end -%>

Version data entries

109 entries across 109 versions & 1 rubygems

Version Path
chef-16.12.3 lib/chef/resource/support/ulimit.erb
chef-16.11.7-universal-mingw32 lib/chef/resource/support/ulimit.erb
chef-16.11.7 lib/chef/resource/support/ulimit.erb
chef-16.10.17-universal-mingw32 lib/chef/resource/support/ulimit.erb
chef-16.10.17 lib/chef/resource/support/ulimit.erb
chef-16.10.8-universal-mingw32 lib/chef/resource/support/ulimit.erb
chef-16.10.8 lib/chef/resource/support/ulimit.erb
chef-16.9.32-universal-mingw32 lib/chef/resource/support/ulimit.erb
chef-16.9.32 lib/chef/resource/support/ulimit.erb
chef-16.9.29-universal-mingw32 lib/chef/resource/support/ulimit.erb
chef-16.9.29 lib/chef/resource/support/ulimit.erb
chef-16.9.20-universal-mingw32 lib/chef/resource/support/ulimit.erb
chef-16.9.20 lib/chef/resource/support/ulimit.erb
chef-16.9.17-universal-mingw32 lib/chef/resource/support/ulimit.erb
chef-16.9.17 lib/chef/resource/support/ulimit.erb
chef-16.9.16-universal-mingw32 lib/chef/resource/support/ulimit.erb
chef-16.9.16 lib/chef/resource/support/ulimit.erb
chef-16.8.14-universal-mingw32 lib/chef/resource/support/ulimit.erb
chef-16.8.14 lib/chef/resource/support/ulimit.erb
chef-16.8.9-universal-mingw32 lib/chef/resource/support/ulimit.erb