diff options
author | Thom May <thom@may.lt> | 2016-11-30 18:56:39 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-11-30 18:56:39 +0000 |
commit | 0adc65fc22ec2663c9b4f7fbe4514edb75c3f783 (patch) | |
tree | 2f2140a2955713902f39ddc94a4737c2b7a5eacb | |
parent | ffeb7e3df640d5fb5cca5a0826a6b08779183b23 (diff) | |
parent | 7ceaff472def765635af448eb165ebf7a3e74399 (diff) | |
download | chef-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.rb | 2 |
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 |