From a720e45431376d276cf78bab45bfec1b51ffda70 Mon Sep 17 00:00:00 2001 From: JD Goins Date: Thu, 26 May 2016 17:06:58 -0600 Subject: [PATCH] added success code 2359302 --- recipes/powershell2.rb | 2 +- recipes/powershell3.rb | 2 +- recipes/powershell4.rb | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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'