File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 113
113
}
114
114
}
115
115
116
- $fail_restart_command = [ ' SC.exe failure Docker reset= 432000 actions= restart/30000/restart/60000/restart/60000' ]
116
+ $fail_restart_command = ' SC.exe failure Docker reset= 432000 actions= restart/30000/restart/60000/restart/60000'
117
117
exec { 'service-restart-on-failure' :
118
118
command => $fail_restart_command ,
119
119
refreshonly => true ,
Original file line number Diff line number Diff line change 141
141
142
142
it {
143
143
is_expected . to contain_exec ( 'service-restart-on-failure' ) . with (
144
- 'command' => [ 'SC.exe failure Docker reset= 432000 actions= restart/30000/restart/60000/restart/60000' ] ,
144
+ 'command' => 'SC.exe failure Docker reset= 432000 actions= restart/30000/restart/60000/restart/60000' ,
145
145
'refreshonly' => true ,
146
146
'logoutput' => true ,
147
147
'provider' => 'powershell' ,
You can’t perform that action at this time.
0 commit comments