summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2017-06-21 09:32:17 -0700
committerTim Smith <tsmith@chef.io>2017-06-29 09:30:38 -0700
commitaa3efd6919c347fcac905ca886acf9406b582685 (patch)
tree63fc7439c0e8164856a03c65d7c7b97493bae131
parent0d66d5a72c85d7f2709be344b9c64993489a63ef (diff)
downloadohai-aa3efd6919c347fcac905ca886acf9406b582685.tar.gz
Chefstyle fix
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--lib/ohai/plugins/packages.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ohai/plugins/packages.rb b/lib/ohai/plugins/packages.rb
index d1349d06..f041143b 100644
--- a/lib/ohai/plugins/packages.rb
+++ b/lib/ohai/plugins/packages.rb
@@ -95,7 +95,7 @@ Ohai.plugin(:Packages) do
# On aix, filesets are packages and levels are versions
pkgs.each do |pkg|
name, fileset, version, _, _, _, pkg_type = pkg.split(":")
- if pkg_type == 'R'
+ if pkg_type == "R"
# RPM
packages[name] = { "version" => version }
else