diff options
author | Tim Smith <tsmith@chef.io> | 2017-09-06 12:59:53 -0700 |
---|---|---|
committer | Tim Smith <tsmith@chef.io> | 2017-09-06 12:59:53 -0700 |
commit | 4017014982d23fd14aae7556b560e4b77e87bbdf (patch) | |
tree | f56278c0df5ab2547ed90e445ad06dcbbca6af2d | |
parent | 819a7e39019126474761698c1d3e2a40f114b7fc (diff) | |
download | ohai-4017014982d23fd14aae7556b560e4b77e87bbdf.tar.gz |
Use standard logging in Filesystem
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r-- | lib/ohai/plugins/linux/filesystem.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ohai/plugins/linux/filesystem.rb b/lib/ohai/plugins/linux/filesystem.rb index e15e94f2..64acc32c 100644 --- a/lib/ohai/plugins/linux/filesystem.rb +++ b/lib/ohai/plugins/linux/filesystem.rb @@ -131,7 +131,7 @@ Ohai.plugin(:Filesystem) do end end rescue Ohai::Exceptions::Exec - Ohai::Log.warn("df is not available") + Ohai::Log.warn("Plugin Filesystem: df binary is not available. Some data will not be available.") end # Grab mount information from /bin/mount @@ -148,7 +148,7 @@ Ohai.plugin(:Filesystem) do end end rescue Ohai::Exceptions::Exec - Ohai::Log.warn("mount is not available") + Ohai::Log.warn("Plugin Filesystem: mount binary is not available. Some data will not be available.") end # We used to try to decide if we wanted to run lsblk or blkid |