File tree Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Expand file tree Collapse file tree 2 files changed +15
-1
lines changed Original file line number Diff line number Diff line change 88
88
Enum[' no' ,' yes' ] $track_wckey = ' no' ,
89
89
Optional[String] $unkillable_step_program = undef ,
90
90
Optional[Array[String]] $slurmctld_parameters = undef ,
91
+ Optional[Array[String]] $communication_parameters = undef ,
91
92
92
93
Enum[' auth/none' ,' auth/munge' ] $auth_type = ' auth/munge' ,
93
94
Optional[String] $auth_info = undef ,
249
250
}
250
251
}
251
252
253
+ if $communication_parameters != undef {
254
+ if versioncmp(' 18.00' , $slurm::params::slurm_version ) > 0 {
255
+ fail(' Parameter CommunicationParameters is supported from version 18.08 onwards.' )
256
+ }
257
+ }
258
+
252
259
if $resume_fail_program != undef {
253
- if versioncmp(' 18.08 ' , $slurm::params::slurm_version ) > 0 {
260
+ if versioncmp(' 18.00 ' , $slurm::params::slurm_version ) > 0 {
254
261
fail(' Parameter ResumeFailProgram is supported from version 18.08 onwards.' )
255
262
}
256
263
}
Original file line number Diff line number Diff line change @@ -132,6 +132,13 @@ SlurmctldPlugstack=<%= @slurmctld_plugstack.join(',') %>
132
132
SlurmctldParameters=<%= @slurmctld_parameters.join(',') %>
133
133
<% end -%>
134
134
<%# -%>
135
+ <%# comment out if empty, expand array if not -%>
136
+ <% if @communication_parameters.nil? -%>
137
+ #CommunicationParameters=
138
+ <% else -%>
139
+ CommunicationParameters=<%= @communication_parameters.join(',') %>
140
+ <% end -%>
141
+ <%# -%>
135
142
SlurmctldPort=<%= @slurmctld_port %>
136
143
SlurmdPidFile=<%= @slurmd_pid_file %>
137
144
<%# comment out if empty, expand array if not -%>
You can’t perform that action at this time.
0 commit comments