Skip to content

Commit 0d6d96a

Browse files
committed
Merge pull request #3 from racciari/master
Fix default limits
2 parents 46f6778 + 08af31a commit 0d6d96a

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

manifests/params.pp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,9 @@
5959
$directory_mode = '0755'
6060
$directory_ensure = 'directory'
6161
# Global parameters
62-
$limit_core_size = '-1'
63-
$limit_max_files = '8192'
64-
$limit_stack_size = '256'
62+
$limit_core_size = '0'
63+
$limit_max_files = '65536'
64+
$limit_stack_size = '8192'
6565
# Others
6666
$no_exec = false
6767
}

metadata.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "openio-gridinit",
3-
"version": "1.1.3",
3+
"version": "1.1.4",
44
"author": "Romain Acciari",
55
"summary": "Puppet module for gridinit from OpenIO",
66
"license": "Apache-2.0",

templates/gridinit.conf.erb

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,14 @@ uid=<%= scope['gridinit::user'] %>
55
gid=<%= scope['gridinit::group'] %>
66
working_dir=<%= @runstatedir %>
77

8+
<% if @limit_core_size -%>
89
limit.core_size=<%= @limit_core_size %>
10+
<% end -%>
11+
<% if @limit_max_files -%>
912
limit.max_files=<%= @limit_max_files %>
13+
<% end -%>
14+
<% if @limit_stack_size -%>
1015
limit.stack_size=<%= @limit_stack_size %>
16+
<% end -%>
1117

1218
include=<%= @sysconfdird %>/*

0 commit comments

Comments
 (0)