Skip to content

Commit 65dbf38

Browse files
committed
Add the maxrc configuration option
1 parent 5ed9966 commit 65dbf38

File tree

4 files changed

+14
-0
lines changed

4 files changed

+14
-0
lines changed

REFERENCE.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ The following parameters are available in the `clustershell` class:
3838
* [`color`](#-clustershell--color)
3939
* [`fd_max`](#-clustershell--fd_max)
4040
* [`history_size`](#-clustershell--history_size)
41+
* [`maxrc`](#-clustershell--maxrc)
4142
* [`node_count`](#-clustershell--node_count)
4243
* [`verbosity`](#-clustershell--verbosity)
4344
* [`ssh_user`](#-clustershell--ssh_user)
@@ -116,6 +117,14 @@ Value for clush.conf history_size
116117

117118
Default value: `100`
118119

120+
##### <a name="-clustershell--maxrc"></a>`maxrc`
121+
122+
Data type: `String`
123+
124+
Value for clush.conf maxrc
125+
126+
Default value: `'no'`
127+
119128
##### <a name="-clustershell--node_count"></a>`node_count`
120129

121130
Data type: `String`

manifests/init.pp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
# Value for clush.conf fd_max
1616
# @param history_size
1717
# Value for clush.conf history_size
18+
# @param maxrc
19+
# Value for clush.conf maxrc
1820
# @param node_count
1921
# Value for clush.conf node_count
2022
# @param verbosity
@@ -80,6 +82,7 @@
8082
String $color = 'auto',
8183
Integer $fd_max = 8192,
8284
Integer $history_size = 100,
85+
String $maxrc = 'no',
8386
String $node_count = 'yes',
8487
String $verbosity = '1',
8588
Optional[String] $ssh_user = undef,

spec/classes/clustershell_spec.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@
6767
'color: auto',
6868
'fd_max: 8192',
6969
'history_size: 100',
70+
'maxrc: no',
7071
'node_count: yes',
7172
'verbosity: 1',
7273
'ssh_path: ssh',

templates/clush.conf.erb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ command_timeout: <%= @command_timeout %>
1313
color: <%= @color %>
1414
fd_max: <%= @fd_max %>
1515
history_size: <%= @history_size %>
16+
maxrc: <%= @maxrc %>
1617
node_count: <%= @node_count %>
1718
verbosity: <%= @verbosity %>
1819

0 commit comments

Comments
 (0)