From bf6f552c3c70ef836151ae832efde121c3222944 Mon Sep 17 00:00:00 2001 From: Claire McQuin Date: Tue, 3 Sep 2013 14:24:12 -0700 Subject: Ohai::Runner class for running plugins, add run_plugins to Ohai::System to run loaded plugins --- lib/ohai/plugins/darwin/kernel.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/ohai/plugins/darwin/kernel.rb') diff --git a/lib/ohai/plugins/darwin/kernel.rb b/lib/ohai/plugins/darwin/kernel.rb index ff8633aa..14f8bf6d 100644 --- a/lib/ohai/plugins/darwin/kernel.rb +++ b/lib/ohai/plugins/darwin/kernel.rb @@ -17,7 +17,8 @@ # Ohai.plugin do - provides "kernel" + provides "kernel/os", "kernel/machine", "kernel/modules" + depends "kernel/name" collect_data do kernel[:os] = kernel[:name] -- cgit v1.2.1