Closed jmunnik closed 8 years ago
Seems OK to me, I'll check your why your test are failing.
Hi Baptiste Courtois,
Everything allright ? I've reverted the version number so I hope you van have a look and release this version so that I'm able to make an artifact out of it and freeze it at our end.
Regards, Jos
Thanks @jmunnik, I rebased and squashed your changes in master branch. I'll release soon :)
Hi,
Can you have a look at the fix as it's solving the issue below and compatible with older clients.
Regards, Jos
Failure with chef 12.11.18
Generated at 2016-07-11 23:09:22 +0200 Mixlib::ShellOut::ShellCommandFailed: wsus_server_configuration[Wsus server configuration](wsus-server::configure line 27) had an error: Mixlib::ShellOut::ShellCommandFailed: Expected process to exit with [0], but received '1' ---- Begin output of %windir%/SysNative/WindowsPowershell/v1.0/PowerShell.exe -NoLogo -NonInteractive -NoProfile -ExecutionPolicy RemoteSigned -InputFormat None -EncodedCommand BLA ---- STDOUT: STDERR: The system cannot find the path specified. ---- End output of %windir%/SysNative/WindowsPowershell/v1.0/PowerShell.exe -NoLogo -NonInteractive -NoProfile -ExecutionPolicy RemoteSigned -InputFormat None -EncodedCommand BLA ---- Ran %windir%/SysNative/WindowsPowershell/v1.0/PowerShell.exe -NoLogo -NonInteractive -NoProfile -ExecutionPolicy RemoteSigned -InputFormat None -EncodedCommand BLA returned 1 c:/opscode/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.6-universal-mingw32/lib/mixlib/shellout.rb:289:in
invalid!' c:/opscode/chef/embedded/lib/ruby/gems/2.1.0/gems/mixlib-shellout-2.2.6-universal-mingw32/lib/mixlib/shellout.rb:276:in
error!' C:/chef/cache/cookbooks/wsus-server/libraries/base_provider.rb:74:inpowershell_out64' C:/chef/cache/cookbooks/wsus-server/providers/configuration.rb:51:in
load_current_resource' c:/opscode/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18-universal-mingw32/lib/chef/provider.rb:128:inrun_action' c:/opscode/chef/embedded/lib/ruby/gems/2.1.0/gems/chef-12.11.18-universal-mingw32/lib/chef/resource.rb:591:in
run_action'With applied change:
Recipe: wsus-server::synchronize