summaryrefslogtreecommitdiff
path: root/lib/ohai/plugins/linux/memory.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ohai/plugins/linux/memory.rb')
-rw-r--r--lib/ohai/plugins/linux/memory.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/ohai/plugins/linux/memory.rb b/lib/ohai/plugins/linux/memory.rb
index d41fc783..e5c76801 100644
--- a/lib/ohai/plugins/linux/memory.rb
+++ b/lib/ohai/plugins/linux/memory.rb
@@ -16,10 +16,10 @@
# limitations under the License.
#
-Ohai.plugin do
- provides "memory"
+Ohai.plugin(:Memory) do
+ provides "memory", "memory/swap"
- collect_data do
+ collect_data(:linux) do
memory Mash.new
memory[:swap] = Mash.new