diff options
Diffstat (limited to 'lib/ohai/plugins/openbsd/memory.rb')
-rw-r--r-- | lib/ohai/plugins/openbsd/memory.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/ohai/plugins/openbsd/memory.rb b/lib/ohai/plugins/openbsd/memory.rb index 8951da08..3ad60fbc 100644 --- a/lib/ohai/plugins/openbsd/memory.rb +++ b/lib/ohai/plugins/openbsd/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(:openbsd) do memory Mash.new memory[:swap] = Mash.new |