diff options
author | Shahul Hameed <skhajamohid1@bloomberg.net> | 2015-08-11 17:14:54 -0400 |
---|---|---|
committer | Shahul Hameed <skhajamohid1@bloomberg.net> | 2015-08-11 17:14:54 -0400 |
commit | b63a72614f96cc69e894dcc506abf3a7c63c344b (patch) | |
tree | 278f321b165fa2f1b235338a3ceaf65e533a8c97 | |
parent | 6d99d88b6ed41f21869d1c091928235ffc145865 (diff) | |
download | ohai-b63a72614f96cc69e894dcc506abf3a7c63c344b.tar.gz |
Define aix memory plugin mash correctly
-rw-r--r-- | lib/ohai/plugins/aix/memory.rb | 2 |
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 |