summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2017-01-25 13:57:37 -0800
committerTim Smith <tsmith@chef.io>2017-04-06 10:02:19 -0700
commitedc31b5005220f8624a51cf3f72e5e14b1dfdfdc (patch)
tree92b2b2554269e0302e2f6894d5f134919e06dded
parent1672a9a135738a9ccccb2daa09ccfd7000545beb (diff)
downloadohai-libvirt.tar.gz
Improve load failure warninglibvirt
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--lib/ohai/plugins/libvirt.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ohai/plugins/libvirt.rb b/lib/ohai/plugins/libvirt.rb
index 0faf3637..95b2f1e1 100644
--- a/lib/ohai/plugins/libvirt.rb
+++ b/lib/ohai/plugins/libvirt.rb
@@ -104,7 +104,7 @@ Ohai.plugin(:Libvirt) do
virtconn.close
libvirt libvirt_data
rescue NameError
- Ohai::Log.debug("Plugin Libvirt: Cannot load Libvirt. Skipping...")
+ Ohai::Log.debug("Plugin Libvirt: Cannot load ruby-libvirt gem. Skipping...")
rescue Libvirt::ConnectionError
Ohai::Log.debug("Plugin Libvirt: Failed to connect to #{emu}:///system. Skipping...")
end