summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjugatsu <anton.jugatsu@gmail.com>2016-11-29 12:50:27 +0400
committerGitHub <noreply@github.com>2016-11-29 12:50:27 +0400
commit7ceaff472def765635af448eb165ebf7a3e74399 (patch)
tree16cf349b0f10b214546e58281bdf8590bc76f2bf
parenteb34e8c9ceaaa6d648be21ff353010e45769bdc8 (diff)
parent8bd5b66d5781948446c051793da06fbf63a542de (diff)
downloadchef-7ceaff472def765635af448eb165ebf7a3e74399.tar.gz
Merge pull request #1 from jugatsu/cab-dism-english
Add support to cab_package for non-English system locales
-rw-r--r--lib/chef/provider/package/cab.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/chef/provider/package/cab.rb b/lib/chef/provider/package/cab.rb
index 4e2054fbc2..8e1709f618 100644
--- a/lib/chef/provider/package/cab.rb
+++ b/lib/chef/provider/package/cab.rb
@@ -45,7 +45,7 @@ class Chef
end
def dism_command(command)
- shellout = Mixlib::ShellOut.new("dism.exe /Online #{command} /NoRestart", { :timeout => @new_resource.timeout })
+ shellout = Mixlib::ShellOut.new("dism.exe /Online /English #{command} /NoRestart", { :timeout => @new_resource.timeout })
with_os_architecture(nil) do
shellout.run_command
end