File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1203,11 +1203,11 @@ Default value: `undef`
1203
1203
1204
1204
##### <a name =" -keepalived--vrrp--instance--track_process " ></a >` track_process `
1205
1205
1206
- Data type: ` Optional[ Array[String[1] ]]`
1206
+ Data type: ` Array[String[1]] `
1207
1207
1208
1208
Define which process trackers to run.
1209
1209
1210
- Default value: ` undef `
1210
+ Default value: ` [] `
1211
1211
1212
1212
##### <a name =" -keepalived--vrrp--instance--track_file " ></a >` track_file `
1213
1213
Original file line number Diff line number Diff line change 206
206
$auth_type = undef ,
207
207
Optional[Variant[String, Sensitive[String]]] $auth_pass = undef ,
208
208
$track_script = undef ,
209
- Optional[ Array[String[1]]] $track_process = undef ,
209
+ Array[String[1]] $track_process = [] ,
210
210
Array[String[1]] $track_file = [],
211
211
Array[String[1]] $vrrp_track_file = [],
212
212
$track_interface = undef ,
Original file line number Diff line number Diff line change @@ -105,10 +105,10 @@ vrrp_instance <%= @_name %> {
105
105
<%- end -%>
106
106
}
107
107
<%- end -%>
108
- <%- if @track_process -%>
108
+ <%- unless @track_process.empty? -%>
109
109
110
110
track_process {
111
- <%- Array( @track_process) .each do |track| -%>
111
+ <%- @track_process.each do |track| -%>
112
112
<%= track %>
113
113
<%- end -%>
114
114
}
You can’t perform that action at this time.
0 commit comments