Sha256: 0d8ca81dd8429ba2ca78e938e0564889c533bbebe241e86b03f9703f58b65db5
Contents?: true
Size: 483 Bytes
Versions: 51
Compression:
Stored size: 483 Bytes
Contents
module Kurchatov module Ohai def self.data @ohai ||= ::Ohai::System.new @mutex ||= Mutex.new @mutex.synchronize do Log.info('Load ohai plugins') @ohai.all_plugins end @ohai.data end end module Mixin module Ohai class << self; attr_accessor :ohai_instance; end def ohai @ohai_instance ||= Kurchatov::Mixin::Ohai.ohai_instance ||= Kurchatov::Ohai.data end end end end
Version data entries
51 entries across 51 versions & 1 rubygems