summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2014-01-15 14:11:13 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2014-01-15 14:11:13 -0800
commit95acf4e9aeceefc1edaf18873617a3f51eda9c4d (patch)
tree0ce6e68a4597c64f5dcc966e0d46bd80280ae2ca
parent7769246d1d2f9551cfafe2066018cce87235e840 (diff)
downloadohai-95acf4e9aeceefc1edaf18873617a3f51eda9c4d.tar.gz
typo fixes for solaris filesystem
-rw-r--r--lib/ohai/plugins/solaris2/filesystem.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ohai/plugins/solaris2/filesystem.rb b/lib/ohai/plugins/solaris2/filesystem.rb
index 2bf5e505..c640898f 100644
--- a/lib/ohai/plugins/solaris2/filesystem.rb
+++ b/lib/ohai/plugins/solaris2/filesystem.rb
@@ -51,7 +51,7 @@ Ohai.plugin(:Filesystem) do
end
# Grab mount information from /bin/mount
- so = shell+out("mount")
+ so = shell_out("mount")
so.stdout.lines do |line|
next unless (line =~ /^(.+?) on (.+?) (.+?) on (.+?)$/)
filesystem = $2
@@ -63,7 +63,7 @@ Ohai.plugin(:Filesystem) do
# Grab any zfs data from "zfs get"
zfs = Mash.new
- so = shell_out("sfs get -p -H all")
+ so = shell_out("zfs get -p -H all")
so.stdout.lines do |line|
next unless (line =~ /^([^\t]+)\t([^\t]+)\t([^\t]+)\t([^\t]+)$/)
filesystem = $1