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-17.10.163-universal-mingw32 lib/chef/resource/support/ulimit.erb
chef-17.10.163 lib/chef/resource/support/ulimit.erb
chef-17.10.122-universal-mingw32 lib/chef/resource/support/ulimit.erb
chef-17.10.122 lib/chef/resource/support/ulimit.erb
chef-17.10.114-universal-mingw32 lib/chef/resource/support/ulimit.erb
chef-17.10.114 lib/chef/resource/support/ulimit.erb
chef-17.10.95-universal-mingw32 lib/chef/resource/support/ulimit.erb
chef-17.10.95 lib/chef/resource/support/ulimit.erb
chef-18.3.0-x64-mingw-ucrt lib/chef/resource/support/ulimit.erb
chef-18.3.0 lib/chef/resource/support/ulimit.erb
chef-17.10.68-universal-mingw32 lib/chef/resource/support/ulimit.erb
chef-18.2.7-x64-mingw-ucrt lib/chef/resource/support/ulimit.erb
chef-18.2.7 lib/chef/resource/support/ulimit.erb
chef-18.1.29 lib/chef/resource/support/ulimit.erb
chef-18.1.29-x64-mingw-ucrt lib/chef/resource/support/ulimit.erb
chef-16.18.30-universal-mingw32 lib/chef/resource/support/ulimit.erb
chef-16.18.30 lib/chef/resource/support/ulimit.erb
chef-18.1.0-x64-mingw-ucrt lib/chef/resource/support/ulimit.erb
chef-18.1.0 lib/chef/resource/support/ulimit.erb
chef-18.0.185-x64-mingw-ucrt lib/chef/resource/support/ulimit.erb