summaryrefslogtreecommitdiff
path: root/lib/ohai/plugins/solaris2/zpools.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ohai/plugins/solaris2/zpools.rb')
-rw-r--r--lib/ohai/plugins/solaris2/zpools.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ohai/plugins/solaris2/zpools.rb b/lib/ohai/plugins/solaris2/zpools.rb
index e6f6e469..f0867cd5 100644
--- a/lib/ohai/plugins/solaris2/zpools.rb
+++ b/lib/ohai/plugins/solaris2/zpools.rb
@@ -16,10 +16,10 @@
# limitations under the License.
#
-Ohai.plugin do
+Ohai.plugin(:Zpools) do
provides "zpools"
- collect_data do
+ collect_data(:solaris2) do
pools = Mash.new
# Grab ZFS zpools overall health and attributes