Skip to content

Commit 26352a8

Browse files
committed
win fix
1 parent bd38b84 commit 26352a8

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

manifests/install.pp

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@
113113
}
114114
}
115115

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'
117117
exec { 'service-restart-on-failure':
118118
command => $fail_restart_command,
119119
refreshonly => true,

spec/shared_examples/install.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@
141141

142142
it {
143143
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',
145145
'refreshonly' => true,
146146
'logoutput' => true,
147147
'provider' => 'powershell',

0 commit comments

Comments
 (0)