diff options
author | Lamont Granquist <lamont@scriptkiddie.org> | 2014-10-24 10:56:31 -0700 |
---|---|---|
committer | Lamont Granquist <lamont@scriptkiddie.org> | 2014-10-24 10:56:31 -0700 |
commit | 5d9ab649c4898bf4050ecb527e34a9071e4f10ab (patch) | |
tree | 12acecc1ef5735fe4f0aaab47648068513003f7a /lib/chef/provider | |
parent | 59236f77e5ce61dea27bb99ac259e59ef9436705 (diff) | |
parent | 915691a5053f2779805462ea98cbccfc76e0cce3 (diff) | |
download | chef-5d9ab649c4898bf4050ecb527e34a9071e4f10ab.tar.gz |
Merge pull request #2287 from opscode/lcg/remove-force-utf8
remove force of utf-8
Diffstat (limited to 'lib/chef/provider')
-rw-r--r-- | lib/chef/provider/package/pacman.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/chef/provider/package/pacman.rb b/lib/chef/provider/package/pacman.rb index 85c0208d76..45edda5c5d 100644 --- a/lib/chef/provider/package/pacman.rb +++ b/lib/chef/provider/package/pacman.rb @@ -36,7 +36,6 @@ class Chef Chef::Log.debug("#{@new_resource} checking pacman for #{@new_resource.package_name}") status = popen4("pacman -Qi #{@new_resource.package_name}") do |pid, stdin, stdout, stderr| stdout.each do |line| - line.force_encoding(Encoding::UTF_8) if line.respond_to?(:force_encoding) case line when /^Version(\s?)*: (.+)$/ Chef::Log.debug("#{@new_resource} current version is #{$2}") |