summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThom May <thom@may.lt>2016-11-30 18:56:39 +0000
committerGitHub <noreply@github.com>2016-11-30 18:56:39 +0000
commit0adc65fc22ec2663c9b4f7fbe4514edb75c3f783 (patch)
tree2f2140a2955713902f39ddc94a4737c2b7a5eacb
parentffeb7e3df640d5fb5cca5a0826a6b08779183b23 (diff)
parent7ceaff472def765635af448eb165ebf7a3e74399 (diff)
downloadchef-0adc65fc22ec2663c9b4f7fbe4514edb75c3f783.tar.gz
Merge pull request #5591 from jugatsu/master
Support for running cab_package on 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