lib/ohai/dsl/plugin/versionvii.rb in ohai-8.15.1 vs lib/ohai/dsl/plugin/versionvii.rb in ohai-8.16.0
- old
+ new
@@ -87,10 +87,10 @@
if collector.has_key?(platform)
self.instance_eval(&collector[platform])
elsif collector.has_key?(:default)
self.instance_eval(&collector[:default])
else
- Ohai::Log.debug("No data to collect for plugin #{self.name}. Continuing...")
+ Ohai::Log.debug("Plugin #{self.name}: No data to collect. Skipping...")
end
end
def provides(*paths)
Ohai::Log.warn("[UNSUPPORTED OPERATION] \'provides\' is no longer supported in a \'collect_data\' context. Please specify \'provides\' before collecting plugin data. Ignoring command \'provides #{paths.join(", ")}")