summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShahul Hameed <skhajamohid1@bloomberg.net>2015-08-11 17:14:54 -0400
committerShahul Hameed <skhajamohid1@bloomberg.net>2015-08-11 17:14:54 -0400
commitb63a72614f96cc69e894dcc506abf3a7c63c344b (patch)
tree278f321b165fa2f1b235338a3ceaf65e533a8c97
parent6d99d88b6ed41f21869d1c091928235ffc145865 (diff)
downloadohai-b63a72614f96cc69e894dcc506abf3a7c63c344b.tar.gz
Define aix memory plugin mash correctly
-rw-r--r--lib/ohai/plugins/aix/memory.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ohai/plugins/aix/memory.rb b/lib/ohai/plugins/aix/memory.rb
index da74a778..92c6e887 100644
--- a/lib/ohai/plugins/aix/memory.rb
+++ b/lib/ohai/plugins/aix/memory.rb
@@ -20,7 +20,7 @@ Ohai.plugin(:Memory) do
provides "memory"
collect_data(:aix) do
- memory = Mash.new
+ memory Mash.new
meminfo = shell_out("svmon -G -O unit=MB,summary=longreal | grep '[0-9]'").stdout
memory[:total], u, memory[:free] = meminfo.split