summaryrefslogtreecommitdiff
path: root/lib/ohai/plugins/openbsd/cpu.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ohai/plugins/openbsd/cpu.rb')
-rw-r--r--lib/ohai/plugins/openbsd/cpu.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/ohai/plugins/openbsd/cpu.rb b/lib/ohai/plugins/openbsd/cpu.rb
index ed69db61..91af3fe6 100644
--- a/lib/ohai/plugins/openbsd/cpu.rb
+++ b/lib/ohai/plugins/openbsd/cpu.rb
@@ -16,10 +16,10 @@
# limitations under the License.
#
-Ohai.plugin do
+Ohai.plugin(:CPU) do
provides 'cpu'
- collect_data do
+ collect_data(:openbsd) do
cpuinfo = Mash.new
# OpenBSD provides most cpu information via sysctl, the only thing we need to