diff --git a/recipes/powershell2.rb b/recipes/powershell2.rb index 7f569b4..dbfe9cd 100644 --- a/recipes/powershell2.rb +++ b/recipes/powershell2.rb @@ -51,7 +51,7 @@ checksum node['powershell']['powershell2']['checksum'] installer_type :custom options '/quiet /norestart' - success_codes [0, 42, 127, 3010] + success_codes [0, 42, 127, 3010, 2_359_302] action :install # Note that the :immediately is to immediately notify the other resource, # not to immediately reboot. The windows_reboot 'notifies' does that. diff --git a/recipes/powershell3.rb b/recipes/powershell3.rb index b7f0c35..9f0c826 100644 --- a/recipes/powershell3.rb +++ b/recipes/powershell3.rb @@ -55,7 +55,7 @@ checksum node['powershell']['powershell3']['checksum'] installer_type :custom options '/quiet /norestart' - success_codes [0, 42, 127, 3010] + success_codes [0, 42, 127, 3010, 2_359_302] action :install # Note that the :immediately is to immediately notify the other resource, # not to immediately reboot. The windows_reboot 'notifies' does that. diff --git a/recipes/powershell4.rb b/recipes/powershell4.rb index 1c808a8..f967953 100644 --- a/recipes/powershell4.rb +++ b/recipes/powershell4.rb @@ -42,7 +42,7 @@ installer_type :custom options '/quiet /norestart' action :install - success_codes [0, 42, 127, 3010] + success_codes [0, 42, 127, 3010, 2_359_302] # Note that the :immediately is to immediately notify the other resource, # not to immediately reboot. The windows_reboot 'notifies' does that. notifies :request, 'windows_reboot[powershell]', :immediately if reboot_pending? && node['powershell']['installation_reboot_mode'] != 'no_reboot'