File tree Expand file tree Collapse file tree 5 files changed +15
-8
lines changed Expand file tree Collapse file tree 5 files changed +15
-8
lines changed Original file line number Diff line number Diff line change 70
70
$file_ensure = $gridinit::params::file_ensure,
71
71
$directory_mode = $gridinit::params::directory_mode,
72
72
$directory_ensure = $gridinit::params::directory_ensure,
73
+ $limit_core_size = $gridinit::params::limit_core_size,
74
+ $limit_max_files = $gridinit::params::limit_max_files,
75
+ $limit_stack_size = $gridinit::params::limit_stack_size,
73
76
$no_exec = $gridinit::params::no_exec,
74
77
75
78
$programs = {},
Original file line number Diff line number Diff line change 14
14
package { $gridinit::packages_names :
15
15
ensure => $gridinit::package_ensure ,
16
16
allow_virtual => false ,
17
- install_options => $package_install_options ,
17
+ install_options => $gridinit:: package_install_options ,
18
18
}
19
19
20
20
}
Original file line number Diff line number Diff line change 20
20
$packages_names = [' openio-gridinit' ,' openio-gridinit-utils' ]
21
21
$package_install_options = undef
22
22
}
23
- default: { fail(" osfamily $::osfamily not supported." ) }
23
+ default: { fail(" osfamily ${ ::osfamily} not supported." ) }
24
24
}
25
25
$bindir = " ${prefixdir} /bin"
26
26
$sysconfdir = ' /etc'
58
58
$file_ensure = ' file'
59
59
$directory_mode = ' 0755'
60
60
$directory_ensure = ' directory'
61
+ # Global parameters
62
+ $limit_core_size = ' -1'
63
+ $limit_max_files = ' 8192'
64
+ $limit_stack_size = ' 256'
61
65
# Others
62
66
$no_exec = false
63
67
}
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " openio-gridinit" ,
3
- "version" : " 1.1.2 " ,
3
+ "version" : " 1.1.3 " ,
4
4
"author" : " Romain Acciari" ,
5
5
"summary" : " Puppet module for gridinit from OpenIO" ,
6
6
"license" : " Apache-2.0" ,
Original file line number Diff line number Diff line change 1
1
[Default]
2
2
listen=<%= @runstatedir %> /gridinit.sock
3
3
pidfile=<%= @runstatedir %> /gridinit.pid
4
- uid=root
5
- gid=root
4
+ uid=<%= scope['gridinit::user'] %>
5
+ gid=<%= scope['gridinit::group'] %>
6
6
working_dir=<%= @runstatedir %>
7
7
8
- limit.core_size=-1
9
- limit.max_files=8192
10
- limit.stack_size=256
8
+ limit.core_size=<%= @limit_core_size %>
9
+ limit.max_files=<%= @limit_max_files %>
10
+ limit.stack_size=<%= @limit_stack_size %>
11
11
12
12
include=<%= @sysconfdird %> /*
You can’t perform that action at this time.
0 commit comments