From 1672a9a135738a9ccccb2daa09ccfd7000545beb Mon Sep 17 00:00:00 2001 From: Tim Smith Date: Tue, 24 Jan 2017 14:55:14 -0800 Subject: Update the case of the plugin name Signed-off-by: Tim Smith --- lib/ohai/plugins/libvirt.rb | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'lib/ohai/plugins') diff --git a/lib/ohai/plugins/libvirt.rb b/lib/ohai/plugins/libvirt.rb index 0ccd8ba6..0faf3637 100644 --- a/lib/ohai/plugins/libvirt.rb +++ b/lib/ohai/plugins/libvirt.rb @@ -19,7 +19,7 @@ # Note: This plugin requires libvirt-bin/libvirt-dev as well as the ruby-libvirt # gem to be installed before it will properly parse data -Ohai.plugin(:LibVirt) do +Ohai.plugin(:Libvirt) do %w{ uri capabilities nodeinfo domains networks storage }.each do |info| provides "libvirt/#{info}" depends "virtualization" @@ -32,9 +32,9 @@ Ohai.plugin(:LibVirt) do def load_libvirt begin require "libvirt" # this is the ruby-libvirt gem not the libvirt gem - Ohai::Log.debug("Plugin LibVirt: Successfully loaded ruby-libvirt gem") + Ohai::Log.debug("Plugin Libvirt: Successfully loaded ruby-libvirt gem") rescue LoadError - Ohai::Log.debug("Plugin LibVirt: Can't load gem ruby-libvirt.") + Ohai::Log.debug("Plugin Libvirt: Can't load gem ruby-libvirt.") end end @@ -104,12 +104,12 @@ 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 Libvirt. Skipping...") rescue Libvirt::ConnectionError - Ohai::Log.debug("Plugin LibVirt: Failed to connect to #{emu}:///system. Skipping...") + Ohai::Log.debug("Plugin Libvirt: Failed to connect to #{emu}:///system. Skipping...") end else - Ohai::Log.debug("Plugin LibVirt: Node is not a virtualization host. Skipping...") + Ohai::Log.debug("Plugin Libvirt: Node is not a virtualization host. Skipping...") end end end -- cgit v1.2.1